--- a/src/hotspot/share/opto/library_call.cpp Fri May 11 17:50:00 2018 +0800
+++ b/src/hotspot/share/opto/library_call.cpp Fri May 11 11:08:32 2018 -0400
@@ -52,6 +52,7 @@
#include "opto/subnode.hpp"
#include "prims/nativeLookup.hpp"
#include "prims/unsafe.hpp"
+#include "runtime/objectMonitor.hpp"
#include "runtime/sharedRuntime.hpp"
#ifdef TRACE_HAVE_INTRINSICS
#include "trace/traceMacros.hpp"
@@ -545,7 +546,7 @@
case vmIntrinsics::_notify:
case vmIntrinsics::_notifyAll:
- if (InlineNotify) {
+ if (ObjectMonitor::Knob_InlineNotify) {
return inline_notify(intrinsic_id());
}
return false;