diff -r a390cbb82d47 -r 85789fb05154 src/hotspot/share/oops/instanceKlass.hpp --- a/src/hotspot/share/oops/instanceKlass.hpp Mon Jun 25 02:07:42 2018 +0200 +++ b/src/hotspot/share/oops/instanceKlass.hpp Sun Jun 24 21:46:11 2018 -0700 @@ -687,11 +687,6 @@ return is_anonymous() ? java_mirror() : class_loader(); } - // 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 holder_phantom() const; - bool is_contended() const { return (_misc_flags & _misc_is_contended) != 0; }