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.
Steps: 1. Select "Memory" button in the Select Profiling Task dialog box. 2. Click "Advanced (instrumented)" button. 3. Click "Record full object life cycle" button. 4. Keeping all other defaults, click "Run" button profile sufficiently large application. When more than 32768 classes are instrumented, the following exception is thrown: java.lang.ArrayIndexOutOfBoundsException: -32760 at org.netbeans.lib.profiler.server.ProfilerRuntimeObjLiveness.traceObjAlloc(ProfilerRuntimeObjLiveness.java:267)
This is similar to issue #163211. The same fix can be done for memory profiling.
Fixed in profiler-main changeset: 265800:82c502d0b291 user: Tomas Hurka <thurka@netbeans.org> date: Thu Oct 24 11:59:26 2013 +0200 summary: bugfix #237476, new workaround for the case where classId is treated as short
Integrated into 'main-silver', will be available in build *201310300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/82c502d0b291 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #237476, new workaround for the case where classId is treated as short
Transplanted to release74 changeset: 275829:0cb623f74b48 branch: release74 user: Tomas Hurka <thurka@netbeans.org> date: Thu Oct 24 11:59:26 2013 +0200 summary: bugfix #237476, new workaround for the case where classId is treated as short