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: | ArrayIndexOutOfBoundsException in ProfilerRuntimeCPUSampledInstr.methodEntry() | ||
---|---|---|---|
Product: | profiler | Reporter: | apb <apb> |
Component: | Base | Assignee: | issues@profiler <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
apb
2009-04-30 22:37:30 UTC
This seems like it might be related to Issue 104573 where the profiler was using chars for offsets into large files that were greater than 32K bytes long. There is no problem in profiler and this exception has nothing to do with issue #104573. This is a problem in JVM. There is a workaround for it, but it stopped working in JDK 1.6.0_10. Which JDK are you using? 1.6.0_07 should work. You can also tell HotSpot compiler to exclude org.netbeans.lib.profiler.server.ProfilerRuntimeCPUSampledInstr.methodEntry() method from being compiled. To do so, you will create .hotspot_compiler file in the current working directory of the profiled application and put exclude org/netbeans/lib/profiler/server/ProfilerRuntimeCPUSampledInstr methodEntry See this http://blogs.sun.com/javawithjiva/entry/hotspotrc_and_hotspot_compiler link for more details about .hotspot_compiler *** This issue has been marked as a duplicate of 163211 *** More info: the JVM bug can be reproduce with Server VM only. *** Issue 164503 has been marked as a duplicate of this issue. *** Could someone please post the jdk bug id. |