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 172677 - 4s don't acquire writeLock when computing hints
Summary: 4s don't acquire writeLock when computing hints
Status: RESOLVED DUPLICATE of bug 172057
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 12:29 UTC by Jaroslav Tulach
Modified: 2009-09-21 12:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 158867


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-09-21 12:29:45 UTC
web.jsf.editor.hints.ElCheck can block repainting of the whole system as it exclusively locks document. Probably it 
only needs read lock (e.g. Document.render(Runnable)), not runAtomic.


Build: NetBeans IDE Dev (Build 200909151512)
VM: Java HotSpot(TM) Client VM, 16.0-b06, Java(TM) SE Runtime Environment, 1.7.0-ea-b66
OS: Windows XP, 5.1, x86
User comments: 
Maximum slowness yet reported was 3719 ms, average is 3719
Comment 1 Jan Lahoda 2009-09-21 12:39:09 UTC
Use of write lock was changed to read lock in issue #172057, AFAIK. Could probably be improve by use of "micro"-locking
(locking only for short periods of time only where necessary).
Comment 2 Marek Fukala 2009-09-21 12:44:32 UTC

*** This issue has been marked as a duplicate of 172057 ***