src/hotspot/share/ci/ciInstanceKlass.cpp
changeset 49738 a7bc87a63dd8
parent 49449 ef5d5d343e2a
child 51379 802f7e5e7e6b
--- a/src/hotspot/share/ci/ciInstanceKlass.cpp	Tue Apr 10 08:15:40 2018 -0400
+++ b/src/hotspot/share/ci/ciInstanceKlass.cpp	Tue Apr 10 10:06:42 2018 -0400
@@ -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->klass_holder_phantom();
+  oop holder = ik->holder_phantom();
   if (ik->is_anonymous()) {
     // Though ciInstanceKlass records class loader oop, it's not enough to keep
     // VM anonymous classes alive (loader == NULL). Klass holder should be used instead.