JDK-7186778 : MachO decoder implementation for MacOSX
Type:Enhancement
Component:hotspot
Sub-Component:runtime
Affected Version:hs24
Priority:P2
Status:Closed
Resolution:Fixed
OS:os_x
CPU:x86
Submitted:2012-07-25
Updated:2022-11-28
Resolved:2012-08-07
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.
Verified:
JDK: jdk7u40 build 31
OS/ENV: Mac OS-X 64bit
CMD: ~/jdk/jdk7u40_b31/jdk1.7.0_40/fastdebug/bin/java -XX:ErrorHandlerTest=4 -version
RUNS: 1
RESULT: PASS
As expected, hs_err*.log contains the decoded stack info:
--------------- T H R E A D ---------------
Current thread (0x00007ff5f4000800): JavaThread "main" [_thread_in_native, id=8195, stack(0x000000010fce6000,0x000000010fde6000)]
Stack: [0x000000010fce6000,0x000000010fde6000], sp=0x000000010fde5670, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x79dd2e] VMError::report_and_die()+0x622
V [libjvm.dylib+0x2f7154] report_vm_error(char const*, int, char const*, char const*)+0x63
V [libjvm.dylib+0x2f8147] test_error_handler(unsigned long)+0x5e
V [libjvm.dylib+0x49ea5b] JNI_CreateJavaVM+0x1c3
C [java+0x2905] JavaMain+0x134
C [libsystem_c.dylib+0x4e8bf] _pthread_start+0x14f
C [libsystem_c.dylib+0x51b75] thread_start+0xd