comparison src/share/vm/gc_implementation/shared/vmGCOperations.cpp @ 14278:a3ba776d6ab6

8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1 Reviewed-by: coleenp, sspitsyn, dsamersoff
author sla
date Thu, 16 Jan 2014 20:14:21 +0100
parents bf9e50c573ad
children 2c95095271e9
comparison
equal deleted inserted replaced
14277:3bee68af0296 14278:a3ba776d6ab6
54 HS_DTRACE_PROBE1(hotspot, gc__begin, full); 54 HS_DTRACE_PROBE1(hotspot, gc__begin, full);
55 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG(); 55 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG();
56 #else /* USDT2 */ 56 #else /* USDT2 */
57 HOTSPOT_GC_BEGIN( 57 HOTSPOT_GC_BEGIN(
58 full); 58 full);
59 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG();
59 #endif /* USDT2 */ 60 #endif /* USDT2 */
60 } 61 }
61 62
62 void VM_GC_Operation::notify_gc_end() { 63 void VM_GC_Operation::notify_gc_end() {
63 #ifndef USDT2 64 #ifndef USDT2
64 HS_DTRACE_PROBE(hotspot, gc__end); 65 HS_DTRACE_PROBE(hotspot, gc__end);
65 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG(); 66 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG();
66 #else /* USDT2 */ 67 #else /* USDT2 */
67 HOTSPOT_GC_END( 68 HOTSPOT_GC_END();
68 ); 69 HS_DTRACE_WORKAROUND_TAIL_CALL_BUG();
69 #endif /* USDT2 */ 70 #endif /* USDT2 */
70 } 71 }
71 72
72 void VM_GC_Operation::acquire_pending_list_lock() { 73 void VM_GC_Operation::acquire_pending_list_lock() {
73 // we may enter this with pending exception set 74 // we may enter this with pending exception set