diff -r 7a2a740815b7 -r caf115bb98ad src/hotspot/share/runtime/objectMonitor.hpp --- a/src/hotspot/share/runtime/objectMonitor.hpp Tue May 15 11:28:29 2018 -0700 +++ b/src/hotspot/share/runtime/objectMonitor.hpp Tue May 15 20:24:34 2018 +0200 @@ -59,9 +59,6 @@ void wait_reenter_end(ObjectMonitor *mon); }; -// forward declaration to avoid include tracing.hpp -class EventJavaMonitorWait; - // The ObjectMonitor class implements the heavyweight version of a // JavaMonitor. The lightweight BasicLock/stack lock version has been // inflated into an ObjectMonitor. This inflation is typically due to @@ -324,11 +321,6 @@ int TrySpin(Thread * Self); void ExitEpilog(Thread * Self, ObjectWaiter * Wakee); bool ExitSuspendEquivalent(JavaThread * Self); - void post_monitor_wait_event(EventJavaMonitorWait * event, - jlong notifier_tid, - jlong timeout, - bool timedout); - }; #undef TEVENT