src/hotspot/share/opto/library_call.cpp
changeset 50083 07015dd8157f
parent 49816 a3e79f97e86b
child 50113 caf115bb98ad
--- 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;