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 149083

Summary: [HeapWalker] AWT blocked when browsing instances
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump

Description Tomas Hurka 2008-10-03 15:29:21 UTC
AWT is blocked when browsing instances from a large heap dump. See attached thread dump. It is blocked by computation of references in InstanceDump.getReferences()
Comment 1 Tomas Hurka 2008-10-03 15:31:26 UTC
Created attachment 71122 [details]
thread dump
Comment 2 Tomas Hurka 2008-10-03 15:32:40 UTC
This is regression caused by synchronization of InstanceDump.isGCRoot(). 
Comment 3 Tomas Hurka 2008-10-03 15:42:23 UTC
Fixed in profiler-main
changeset:   104700:b1aed82d2ef7
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Oct 03 16:41:38 2008 +0200
summary:     bugfix #149083, getGCRoot() and getGCRoots() can run in parallel with computeReferences()

Comment 4 Quality Engineering 2008-10-07 06:08:47 UTC
Integrated into 'main-golden', will be available in build *200810070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b1aed82d2ef7
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #149083, getGCRoot() and getGCRoots() can run in parallel with computeReferences()