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.
Reproducible use-case: 1) Run IDE, 2) Open module registration, 3) open class org.netbeans.modules.registration.NbInstaller, 4) add restored method as a profiling root method. 5) Run another IDE with profiling agent (direct, local), 6) Attach profiler and take a snapshot, 7) in advanced setting, change the instrumentation schema to Total, 8) repeat the steps 5) and 6). The snapshots are totally different. JDK1.6.0_06, profiled NetBeans Nb6.1RC2, profiling NetBeans 080415 custom build, tested on Windows Vista.
Created attachment 60704 [details] Profiler Snapshot 1
Created attachment 60705 [details] Profiler Snapshot 2
I will try to fix it for NB 6.7
Most cases fixed, but there are still some minor problems. Lowering priority to P4 to track remaining problems. changeset: 132060:c6ddd3d95d22 user: Tomas Hurka <thurka@netbeans.org> date: Tue May 19 14:39:28 2009 +0200 summary: bugfix #133965, countReachableScannableMethods() removed - instrumentClinit() used instead; RecursiveMethodInstrumentor.instrumentClinit removed; createInstrumentedMethodPack15(DynamicClassInfo ) removed; processReachableMethods() fixed to invoke locateAndMarkMethodReachable() when class is loaded
Integrated into 'main-golden', will be available in build *200905200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c6ddd3d95d22 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #133965, countReachableScannableMethods() removed - instrumentClinit() used instead; RecursiveMethodInstrumentor.instrumentClinit removed; createInstrumentedMethodPack15(DynamicClassInfo ) removed; processReachableMethods() fixed to invoke locateAndMarkMethodReachable() when class is loaded