--- old/src/share/vm/runtime/objectMonitor.cpp 2013-04-15 09:52:01.012485000 +0200 +++ new/src/share/vm/runtime/objectMonitor.cpp 2013-04-15 09:52:00.232483700 +0200 @@ -973,7 +973,7 @@ #if INCLUDE_TRACE // get the owner's thread id for the MonitorEnter event // if it is enabled and the thread isn't suspended - if (not_suspended && Tracing::enabled(TraceJavaMonitorEnterEvent)) { + if (not_suspended && Tracing::is_event_enabled(TraceJavaMonitorEnterEvent)) { _previous_owner_tid = SharedRuntime::get_java_tid(Self); } #endif