src/hotspot/share/ci/ciInstanceKlass.cpp
changeset 52907 7cc17c043ce0
parent 52784 621efe32eb0b
child 52925 9c18c9d839d3
--- 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