This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183864 - Unable to edit RequestProcessor.java
Summary: Unable to edit RequestProcessor.java
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: Other Linux
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE, REGRESSION
: 183857 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-12 06:53 UTC by Jaroslav Tulach
Modified: 2010-04-14 14:13 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Few seconds snapshot (25.13 KB, application/octet-stream)
2010-04-12 06:54 UTC, Jaroslav Tulach
Details
Another snapshot showing something different (yet editor related) (5.02 KB, application/octet-stream)
2010-04-12 06:57 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2010-04-12 06:53:43 UTC
I am sure this has already been reported many times, but I am not able to edit any larger java file in today's build. For example try openide.util/**/RequestProcessor.java, I can type one character per second (at most, often not even that). This renders the whole IDE unusable. 

I am attaching few seconds snapshot in a nps file. The CPU however stays at 100% for minutes. By looking at the nps file, I'd bet there is a little bit too much activity in editor painting.
Comment 1 Jaroslav Tulach 2010-04-12 06:54:36 UTC
Created attachment 97049 [details]
Few seconds snapshot
Comment 2 Jaroslav Tulach 2010-04-12 06:57:14 UTC
Created attachment 97050 [details]
Another snapshot showing something different (yet editor related)
Comment 3 Jaroslav Tulach 2010-04-12 11:02:58 UTC
*** Bug 183857 has been marked as a duplicate of this bug. ***
Comment 4 Petr Nejedly 2010-04-12 14:15:24 UTC
The ARQ is busy by expensive unregistration of dead listeners
Comment 5 Miloslav Metelka 2010-04-13 15:06:32 UTC
IMO this is rather P2. There are computations of TextLayout instances which is logical for ongoing modifications. The total count should be decreased once issue #183646 gets resolved.
The rest seems to be related to parsing so reassigning.
Comment 6 Tomas Zezula 2010-04-13 15:16:12 UTC
I will look at at.
Comment 7 Jaroslav Tulach 2010-04-13 18:09:24 UTC
I made the bug P1, as the Monday build was unreleasable to public, even as beta. As the linewrap is supposed to be disabled in the beta branch, I no longer insist on the priority. P2 is fine.
Comment 8 Tomas Zezula 2010-04-14 14:13:25 UTC
Fixed in jet-main: d04c24201ca0 e00134af07b3
The ClassIndexManager case is fixed.