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.
Summary: | constant UI freezes due to busy mutex in masterfs | ||
---|---|---|---|
Product: | platform | Reporter: | Vladimir Voskresensky <vv159170> |
Component: | Data Systems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, apepin, issues, jhavlin, jtulach, mmirilovic |
Priority: | P1 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
UI freezes
slowness when expand Importan Files tryint to invoke Run target from build script |
Description
Vladimir Voskresensky
2014-07-18 12:02:37 UTC
Created attachment 148133 [details]
UI freezes
Created attachment 148134 [details]
slowness when expand Importan Files
Created attachment 148135 [details]
tryint to invoke Run target from build script
> After some recent changes in platform UI is frozen for ~10 sec when i.e.
If it's already in 7.4 as you reported (Version set to 7.4) i doubt it's caused by "some recent changes".
Sorry, it's trunk
>Log Session: Friday, July 18, 2014 3:35:49 PM MSK
>System Info:
Product Version = NetBeans IDE Dev (Build 20140718-95206b99b198) (#95206b99b198)
Operating System = SunOS version 5.11 running on x86
Java; VM; Vendor = 1.7.0_55; Java HotSpot(TM) Server VM 24.55-b03; Oracle Corporation
Runtime = Java(TM) SE Runtime Environment 1.7.0_55-b13
Java Home = /usr/jdk/instances/jdk1.7.0/jre
(In reply to Vladimir Voskresensky from comment #3) > Created attachment 148135 [details] > tryint to invoke Run target from build script AWT is blocked on a DataObjectPool monitor. The monitor is held by some background thread in org.openide.loaders.DataObjectPool.register() which then uses FileObject as a key in a hashmap. However when putting it into DoubleHashMap, the FileObject blocks on computation of getParent() which needs the global MasterFS mutex. changeset: e63774180d14 user: Jaroslav Tulach <jtulach@netbeans.org> date: Wed Jul 30 12:35:43 2014 +0200 summary: #245795: Don't ask for FileObject's parent in a synchronized block Integrated into 'main-silver', will be available in build *201408010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e63774180d14 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #245795: Don't ask for FileObject's parent in a synchronized block Task #245795 - constant UI freezes due to busy mutex in masterfs Too late for release801 branch. Jardo, can you backport? (In reply to Antonin Nebuzelsky from comment #9) > Too late for release801 branch. I believe the commit made it into the branch: $ hg log -r 'ancestor(release801_base,e63774180d14)' changeset: 286951:e63774180d14 user: Jaroslav Tulach <jtulach@netbeans.org> date: Wed Jul 30 12:35:43 2014 +0200 summary: #245795: Don't ask for FileObject's parent in a synchronized block e.g. release801_base is older than e63774180d14 and contains it. |