hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.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

*** 35,48 **** // Get the raw thread ID from %gs:0 .inline _raw_thread_id,0 movl %gs:0, %eax .end ! // Get callers fp ! .inline _get_previous_fp,0 movl %ebp, %eax - movl %eax, %eax .end // Support for jint Atomic::add(jint inc, volatile jint* dest) // An additional bool (os::is_MP()) is passed as the last argument. .inline _Atomic_add,3 --- 35,48 ---- // Get the raw thread ID from %gs:0 .inline _raw_thread_id,0 movl %gs:0, %eax .end ! // Get current fp ! .inline _get_current_fp,0 ! .volatile movl %ebp, %eax .end // Support for jint Atomic::add(jint inc, volatile jint* dest) // An additional bool (os::is_MP()) is passed as the last argument. .inline _Atomic_add,3