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 47483 - Starvation when doing fast import
Summary: Starvation when doing fast import
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 14:48 UTC by Jaroslav Tulach
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (20.15 KB, text/plain)
2004-08-19 15:01 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-08-19 14:48:50 UTC
I've placed cursor to a symbol in java file,
pressed alt+shift+i, selected fully qualified name
and pressed enter. As a result I've got following
starvation.
Comment 1 Jaroslav Tulach 2004-08-19 15:01:12 UTC
Created attachment 16954 [details]
thread dump
Comment 2 Miloslav Metelka 2004-08-19 19:43:23 UTC
Thanks, Yarda. Obviously the atomicLock() at JavaFastImport:270 must
follow *after* MDR lock, not before. Dusan will fix it.
Comment 3 Miloslav Metelka 2004-08-20 14:10:58 UTC
I'm going to fix it.
Comment 4 Miloslav Metelka 2004-08-20 15:01:55 UTC
Fixed in main trunk:

Checking in libsrc/org/netbeans/editor/ext/java/JavaFastImport.java;
/cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastImport.java,v
 <--  JavaFastImport.java
new revision: 1.21; previous revision: 1.20
Comment 5 Roman Strobl 2005-07-14 15:05:03 UTC
Verified.