equal
deleted
inserted
replaced
56 ObjectWaiter(Thread* thread); |
56 ObjectWaiter(Thread* thread); |
57 |
57 |
58 void wait_reenter_begin(ObjectMonitor *mon); |
58 void wait_reenter_begin(ObjectMonitor *mon); |
59 void wait_reenter_end(ObjectMonitor *mon); |
59 void wait_reenter_end(ObjectMonitor *mon); |
60 }; |
60 }; |
61 |
|
62 // forward declaration to avoid include tracing.hpp |
|
63 class EventJavaMonitorWait; |
|
64 |
61 |
65 // The ObjectMonitor class implements the heavyweight version of a |
62 // The ObjectMonitor class implements the heavyweight version of a |
66 // JavaMonitor. The lightweight BasicLock/stack lock version has been |
63 // JavaMonitor. The lightweight BasicLock/stack lock version has been |
67 // inflated into an ObjectMonitor. This inflation is typically due to |
64 // inflated into an ObjectMonitor. This inflation is typically due to |
68 // contention or use of Object.wait(). |
65 // contention or use of Object.wait(). |
322 int TryLock(Thread * Self); |
319 int TryLock(Thread * Self); |
323 int NotRunnable(Thread * Self, Thread * Owner); |
320 int NotRunnable(Thread * Self, Thread * Owner); |
324 int TrySpin(Thread * Self); |
321 int TrySpin(Thread * Self); |
325 void ExitEpilog(Thread * Self, ObjectWaiter * Wakee); |
322 void ExitEpilog(Thread * Self, ObjectWaiter * Wakee); |
326 bool ExitSuspendEquivalent(JavaThread * Self); |
323 bool ExitSuspendEquivalent(JavaThread * Self); |
327 void post_monitor_wait_event(EventJavaMonitorWait * event, |
|
328 jlong notifier_tid, |
|
329 jlong timeout, |
|
330 bool timedout); |
|
331 |
|
332 }; |
324 }; |
333 |
325 |
334 #undef TEVENT |
326 #undef TEVENT |
335 #define TEVENT(nom) { if (SyncVerbose) FEVENT(nom); } |
327 #define TEVENT(nom) { if (SyncVerbose) FEVENT(nom); } |
336 |
328 |