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: | AIOOBE during profiling application | ||
---|---|---|---|
Product: | profiler | Reporter: | Ivan Sidorkin <ivansidorkin> |
Component: | Base | Assignee: | Tomas Hurka <thurka> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | apb, mgoe |
Priority: | P3 | Keywords: | VISUALVM |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Ivan Sidorkin
2009-04-21 10:43:06 UTC
Reproduced. Seems to be bug in JDK 1.6.10 and later - works fine with JDK 1.5 and JDK 1.6 up to and including update 7. *** Issue 164250 has been marked as a duplicate of this issue. *** This JVM bug can be reproduced with Server VM only. The situation is as follow: There seems to be a problem in JDK from the beginning. There is a workaround for this AIOOBE in the NetBeans Profiler code, but that workaround does not work with Server VM 1.6.0_10 and later. Due to improvements in HotSpot Server compiler workaround was eliminated as no-op when compiling (for example) org/netbeans/lib/profiler/server/ProfilerRuntimeCPUSampledInstr.methodEntry(). I will try to come up with another workaround, which will not be eliminated by HotSpot Server compiler. Fixed in profiler-main changeset: 130108:15c5742b0f0d user: Tomas Hurka <thurka@netbeans.org> date: Thu May 07 15:00:02 2009 +0200 summary: bugfix #163211, new workaround for the case where methodId is treated as short changeset: 130109:0eb87fc103e2 user: Tomas Hurka <thurka@netbeans.org> date: Thu May 07 15:02:06 2009 +0200 summary: bugfix #163211, make sure that methodId is treated as char Integrated into 'main-golden', will be available in build *200905080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/15c5742b0f0d User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #163211, new workaround for the case where methodId is treated as short verified |