src/hotspot/share/oops/klass.hpp
changeset 53152 08db5aa02f7b
parent 52907 7cc17c043ce0
child 53153 af7afdababd3
equal deleted inserted replaced
53151:22baf8054a40 53152:08db5aa02f7b
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   527   // CDS support - remove and restore oops from metadata. Oops are not shared.
   527   // CDS support - remove and restore oops from metadata. Oops are not shared.
   528   virtual void remove_unshareable_info();
   528   virtual void remove_unshareable_info();
   529   virtual void remove_java_mirror();
   529   virtual void remove_java_mirror();
   530   virtual void restore_unshareable_info(ClassLoaderData* loader_data, Handle protection_domain, TRAPS);
   530   virtual void restore_unshareable_info(ClassLoaderData* loader_data, Handle protection_domain, TRAPS);
   531 
   531 
   532  protected:
       
   533   // computes the subtype relationship
       
   534   virtual bool compute_is_subtype_of(Klass* k);
       
   535  public:
   532  public:
   536   // subclass accessor (here for convenience; undefined for non-klass objects)
   533   // subclass accessor (here for convenience; undefined for non-klass objects)
   537   virtual bool is_leaf_class() const { fatal("not a class"); return false; }
   534   virtual bool is_leaf_class() const { fatal("not a class"); return false; }
   538  public:
   535  public:
   539   // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP
   536   // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP