Mercurial > hg > truffle
comparison src/os_cpu/solaris_x86/vm/solaris_x86_64.il @ 472:7b920868b475
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
author | coleenp |
---|---|
date | Mon, 08 Dec 2008 15:50:55 -0500 |
parents | a61af66fc99e |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
469:3c4d36b4a7ac | 472:7b920868b475 |
---|---|
28 // Get the raw thread ID from %gs:0 | 28 // Get the raw thread ID from %gs:0 |
29 .inline _raw_thread_id,0 | 29 .inline _raw_thread_id,0 |
30 movq %fs:0, %rax | 30 movq %fs:0, %rax |
31 .end | 31 .end |
32 | 32 |
33 // Get the frame pointer from previous frame. | 33 // Get the frame pointer from current frame. |
34 .inline _get_previous_fp,0 | 34 .inline _get_current_fp,0 |
35 .volatile | |
35 movq %rbp, %rax | 36 movq %rbp, %rax |
36 movq %rax, %rax | |
37 .end | 37 .end |
38 | 38 |
39 // Support for jint Atomic::add(jint add_value, volatile jint* dest) | 39 // Support for jint Atomic::add(jint add_value, volatile jint* dest) |
40 // An additional bool (os::is_MP()) is passed as the last argument. | 40 // An additional bool (os::is_MP()) is passed as the last argument. |
41 .inline _Atomic_add,3 | 41 .inline _Atomic_add,3 |