< prev index next >

src/hotspot/share/aot/aotCodeHeap.cpp

Print this page

        

*** 1045,1055 **** return false; } InstanceKlass* dyno = InstanceKlass::cast(dyno_klass); ! if (!dyno->is_unsafe_anonymous()) { if (_klasses_got[dyno_data->_got_index] != dyno) { // compile-time class different from runtime class, fail and deoptimize sweep_dependent_methods(holder_data); sweep_dependent_methods(dyno_data); return false; --- 1045,1055 ---- return false; } InstanceKlass* dyno = InstanceKlass::cast(dyno_klass); ! if (!dyno->is_nonfindable() && !dyno->is_unsafe_anonymous()) { if (_klasses_got[dyno_data->_got_index] != dyno) { // compile-time class different from runtime class, fail and deoptimize sweep_dependent_methods(holder_data); sweep_dependent_methods(dyno_data); return false;
< prev index next >