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 188734 - slow typing for a period of time
Summary: slow typing for a period of time
Status: RESOLVED DUPLICATE of bug 172312
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 15:32 UTC by andyr123
Modified: 2011-01-18 12:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (135.67 KB, application/octet-stream)
2010-07-16 15:33 UTC, andyr123
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andyr123 2010-07-16 15:32:43 UTC
When using arrow keys to naviagte, took half a second to a second to update the cursor position. Not seen the issue before. I have attached a thread dump i took at the time. Oddly after saving the thread dump, performance returned to normal.
Comment 1 andyr123 2010-07-16 15:33:41 UTC
Created attachment 100889 [details]
thread dump
Comment 2 David Strupl 2010-09-21 06:58:06 UTC
Tomas, can you please have a look? The "EditorBracesMatching" thread was waiting 2.6 seconds for the parsing thread. I am not sure whether it is ok and/or whether it could have caused the editor to be very slow when the indexing of the HTML files was taking place. Thanks for checking the report.
Comment 3 Tomas Zezula 2010-12-17 14:33:12 UTC
The EditorBracesMatching is trying to acquire the parser lock which is hold by Parsing & Indexing Thread (the indexing of PHP is running). But the brace matching should not affect the speed of the editor. But I think that the IDE is near to the upper heap limit and there are full gcs some of them explicitly called from parsing.api (>1s). I will remove them as a fix of the #172312. If you check that long running brace matcher does not affect typing you can close it as it's caused by near OOM. Also there were memory leaks in the embedded languages which are now fixed #191497.
Comment 4 David Strupl 2011-01-18 12:58:56 UTC
I think that this should be ok after fixing 172312 and 191497. I am closing this report as duplicate of the former.

*** This bug has been marked as a duplicate of bug 172312 ***