diff -r 06fd6cb23acd -r 7cc17c043ce0 src/hotspot/share/ci/ciInstanceKlass.cpp --- a/src/hotspot/share/ci/ciInstanceKlass.cpp Fri Dec 07 13:59:19 2018 -0500 +++ b/src/hotspot/share/ci/ciInstanceKlass.cpp Fri Dec 07 14:48:35 2018 -0500 @@ -72,7 +72,7 @@ // by the GC but need to be strong roots if reachable from a current compilation. // InstanceKlass are created for both weak and strong metadata. Ensuring this metadata // alive covers the cases where there are weak roots without performance cost. - oop holder = ik->holder_phantom(); + oop holder = ik->klass_holder(); if (ik->is_unsafe_anonymous()) { // Though ciInstanceKlass records class loader oop, it's not enough to keep // VM unsafe anonymous classes alive (loader == NULL). Klass holder should