hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il
Print this page
rev 527 : 6773838: There is no calling stack for Compiler thread in hs_err file on x86
Summary: On solaris, the inline assembly wasn't being processed. Added volatile to il file fixed it.
Reviewed-by: phh, kvn
*** 28,41 ****
// Get the raw thread ID from %gs:0
.inline _raw_thread_id,0
movq %fs:0, %rax
.end
! // Get the frame pointer from previous frame.
! .inline _get_previous_fp,0
movq %rbp, %rax
- movq %rax, %rax
.end
// Support for jint Atomic::add(jint add_value, volatile jint* dest)
// An additional bool (os::is_MP()) is passed as the last argument.
.inline _Atomic_add,3
--- 28,41 ----
// Get the raw thread ID from %gs:0
.inline _raw_thread_id,0
movq %fs:0, %rax
.end
! // Get the frame pointer from current frame.
! .inline _get_current_fp,0
! .volatile
movq %rbp, %rax
.end
// Support for jint Atomic::add(jint add_value, volatile jint* dest)
// An additional bool (os::is_MP()) is passed as the last argument.
.inline _Atomic_add,3