src/hotspot/share/code/compiledIC.cpp
changeset 48001 600868bd3a8c
parent 47216 71c04702a3d5
child 48557 2e867226b914
--- a/src/hotspot/share/code/compiledIC.cpp	Wed Oct 11 11:22:21 2017 +0200
+++ b/src/hotspot/share/code/compiledIC.cpp	Wed Oct 11 11:24:59 2017 +0200
@@ -494,7 +494,7 @@
   bool far_c2a = entry != NULL && caller_is_nmethod && method_code->is_far_code();
   if (entry != NULL && !far_c2a) {
     // Call to near compiled code (nmethod or aot).
-    info.set_compiled_entry(entry, (static_bound || is_optimized) ? NULL : receiver_klass, is_optimized);
+    info.set_compiled_entry(entry, is_optimized ? NULL : receiver_klass, is_optimized);
   } else {
     if (is_optimized) {
       if (far_c2a) {