src/hotspot/share/oops/instanceKlass.hpp
changeset 49738 a7bc87a63dd8
parent 49677 a1a7456dd8b9
child 49821 02c08e20d66c
--- a/src/hotspot/share/oops/instanceKlass.hpp	Tue Apr 10 08:15:40 2018 -0400
+++ b/src/hotspot/share/oops/instanceKlass.hpp	Tue Apr 10 10:06:42 2018 -0400
@@ -646,10 +646,10 @@
     return is_anonymous() ? java_mirror() : class_loader();
   }
 
-  // Load the klass_holder as a phantom. This is useful when a weak Klass
+  // Load the klass's holder as a phantom. This is useful when a weak Klass
   // pointer has been "peeked" and then must be kept alive before it may
   // be used safely.
-  oop klass_holder_phantom();
+  oop holder_phantom() const;
 
   bool is_contended() const                {
     return (_misc_flags & _misc_is_contended) != 0;