DescriptionAlexander Kouznetsov
2007-11-16 18:05:27 UTC
Product Version: NetBeans IDE 6.0 RC1 (Build 200711160000)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Performed steps:
- Started OrderSystem application profiling in Monitoring mode
- Waited for application to be shown up in browser
- Modified profiling to customized memory allocation profiling, record stack traces, limit stack depth to 2 frames.
- Clicked link to WelcomeJSF.jsp page and watched Live Results
- RESULT: IDE became frozen, no page was shown
Comment 1Alexander Kouznetsov
2007-11-16 18:05:53 UTC
Comment 5Alexander Kouznetsov
2007-11-16 18:19:31 UTC
Reproduced one more time. Tried to invoke take snapshot while Live Results were populating with data. Got the freeze.
Comment 6Alexander Kouznetsov
2007-11-19 16:49:28 UTC
Reproduced once more. Just started profiling with customized memory settings:
track each 50 object, record stack traces, stack trace limit: 5, disabled Run GC, enabled Threads. IDE became frozen.
Comment 7Alexander Kouznetsov
2007-11-19 16:50:03 UTC
fixed in trunk
there was an issue with classloader unloading leading to a deadlock when using live results simultaneously
Checking in ClassLoaderManager.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/server/ClassLoaderManager.java,v <-- ClassLoaderManager.java
new revision: 1.2; previous revision: 1.1
done
I reproduced this again on Netbeans 6.0.1 build 200801291616.
"AWT-EventQueue-1" prio=6 tid=0x283d0800 nid=0x3448 waiting for monitor entry [0x34b6f000..0x34b6fa94]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.netbeans.lib.profiler.ProfilerClient.getAllocatedObjectsCountResults(ProfilerClient.java:432)
- waiting to lock 0x05560488> (a org.netbeans.lib.profiler.ProfilerClient)
Comment 13Mikhail Kondratyev
2008-02-01 15:03:30 UTC
This has to be checked in 6.1 branch. Please retest
Comment 14Mikhail Kondratyev
2008-02-01 15:05:22 UTC
The fix has been ported into the release601_fixes branch.
Checking in ClassLoaderManager.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/server/Attic/ClassLoaderManager.java,v <-- ClassLoaderManager.java
new revision: 1.1.12.1; previous revision: 1.1
done