JDK-6786948 : SA on core file fails on solaris-amd64 if VM was started with -XX:+StartAttachListener
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-12-18
  • Updated: 2012-02-01
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u18Fixed 7Fixed hs15Fixed
Related Reports
Relates :  
If solaris-amd64 java is started with -XX:+StartAttachListener and later core file is produced, then none of troubleshooting tools work on this core file:

$ jstack -J-d64 jdk/bin/java core
Attaching to core core from executable jdk/bin/java, please wait...
Error attaching to core file: can't open shared archive file /tmp/a/jdk2/jre/lib/amd64/server/classes.jsa

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/8db2b3e46c38

EVALUATION UseSharedSpace is a bool type and in SA its value is read as int. It should be changed to read a byte value. See saproc.cpp line 579 (it may change).