changeset 47872:600868bd3a8c

8169766: c1 + Xcomp reresolving call target every invocation Summary: Set reciever klass for static_bound calls Reviewed-by: kvn
author neliasso
date Wed, 11 Oct 2017 11:24:59 +0200
parents 089b6bf0d1a7
children 0c88cd009b5f
files src/hotspot/share/code/compiledIC.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {