Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/vmGCOperations.cpp @ 1547:fb1a39993f69
6951319: enable solaris builds using Sun Studio 12 update 1
Reviewed-by: kamg, ysr, dholmes, johnc
author | jcoomes |
---|---|
date | Tue, 18 May 2010 11:02:18 -0700 |
parents | bdb5361c461c |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1546:a00b51b2dda4 | 1547:fb1a39993f69 |
---|---|
30 // The same dtrace probe can't be inserted in two different files, so we | 30 // The same dtrace probe can't be inserted in two different files, so we |
31 // have to call it here, so it's only in one file. Can't create new probes | 31 // have to call it here, so it's only in one file. Can't create new probes |
32 // for the other file anymore. The dtrace probes have to remain stable. | 32 // for the other file anymore. The dtrace probes have to remain stable. |
33 void VM_GC_Operation::notify_gc_begin(bool full) { | 33 void VM_GC_Operation::notify_gc_begin(bool full) { |
34 HS_DTRACE_PROBE1(hotspot, gc__begin, full); | 34 HS_DTRACE_PROBE1(hotspot, gc__begin, full); |
35 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG(); | |
35 } | 36 } |
36 | 37 |
37 void VM_GC_Operation::notify_gc_end() { | 38 void VM_GC_Operation::notify_gc_end() { |
38 HS_DTRACE_PROBE(hotspot, gc__end); | 39 HS_DTRACE_PROBE(hotspot, gc__end); |
40 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG(); | |
39 } | 41 } |
40 | 42 |
41 void VM_GC_Operation::acquire_pending_list_lock() { | 43 void VM_GC_Operation::acquire_pending_list_lock() { |
42 // we may enter this with pending exception set | 44 // we may enter this with pending exception set |
43 instanceRefKlass::acquire_pending_list_lock(&_pending_list_basic_lock); | 45 instanceRefKlass::acquire_pending_list_lock(&_pending_list_basic_lock); |