# HG changeset patch # User neliasso # Date 1507713899 -7200 # Node ID 600868bd3a8c96550dc117464546e47b3e7ebf1f # Parent 089b6bf0d1a71e0ac49955a37e3e1ba05513d4f0 8169766: c1 + Xcomp reresolving call target every invocation Summary: Set reciever klass for static_bound calls Reviewed-by: kvn diff -r 089b6bf0d1a7 -r 600868bd3a8c src/hotspot/share/code/compiledIC.cpp --- 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) {