119 HOTSPOT_MONITOR_WAIT(jtid, \ |
119 HOTSPOT_MONITOR_WAIT(jtid, \ |
120 (uintptr_t)(monitor), bytes, len, (millis)); \ |
120 (uintptr_t)(monitor), bytes, len, (millis)); \ |
121 } \ |
121 } \ |
122 } |
122 } |
123 |
123 |
124 #define HOTSPOT_MONITOR_PROBE_waited HOTSPOT_MONITOR_PROBE_WAITED |
124 #define HOTSPOT_MONITOR_PROBE_waited HOTSPOT_MONITOR_WAITED |
125 |
125 |
126 #define DTRACE_MONITOR_PROBE(probe, monitor, obj, thread) \ |
126 #define DTRACE_MONITOR_PROBE(probe, monitor, obj, thread) \ |
127 { \ |
127 { \ |
128 if (DTraceMonitorProbes) { \ |
128 if (DTraceMonitorProbes) { \ |
129 DTRACE_MONITOR_PROBE_COMMON(obj, thread); \ |
129 DTRACE_MONITOR_PROBE_COMMON(obj, thread); \ |