hotspot/src/share/vm/oops/instanceKlass.hpp
changeset 47103 a993ec29ec75
parent 46746 ea379ebb9447
equal deleted inserted replaced
47098:e704f55561c3 47103:a993ec29ec75
   325   bool is_shared_app_class() const {
   325   bool is_shared_app_class() const {
   326     return (_misc_flags & _misc_is_shared_app_class) != 0;
   326     return (_misc_flags & _misc_is_shared_app_class) != 0;
   327   }
   327   }
   328 
   328 
   329   void set_class_loader_type(s2 loader_type) {
   329   void set_class_loader_type(s2 loader_type) {
   330     assert(( _misc_flags & loader_type_bits()) == 0,
       
   331            "Should only be called once for each class.");
       
   332     switch (loader_type) {
   330     switch (loader_type) {
   333     case ClassLoader::BOOT_LOADER:
   331     case ClassLoader::BOOT_LOADER:
   334       _misc_flags |= _misc_is_shared_boot_class;
   332       _misc_flags |= _misc_is_shared_boot_class;
   335        break;
   333        break;
   336     case ClassLoader::PLATFORM_LOADER:
   334     case ClassLoader::PLATFORM_LOADER:
  1333   void mark_newly_obsolete_methods(Array<Method*>* old_methods, int emcp_method_count);
  1331   void mark_newly_obsolete_methods(Array<Method*>* old_methods, int emcp_method_count);
  1334 #endif
  1332 #endif
  1335 public:
  1333 public:
  1336   // CDS support - remove and restore oops from metadata. Oops are not shared.
  1334   // CDS support - remove and restore oops from metadata. Oops are not shared.
  1337   virtual void remove_unshareable_info();
  1335   virtual void remove_unshareable_info();
       
  1336   virtual void remove_java_mirror();
  1338   virtual void restore_unshareable_info(ClassLoaderData* loader_data, Handle protection_domain, TRAPS);
  1337   virtual void restore_unshareable_info(ClassLoaderData* loader_data, Handle protection_domain, TRAPS);
  1339 
  1338 
  1340   // jvm support
  1339   // jvm support
  1341   jint compute_modifier_flags(TRAPS) const;
  1340   jint compute_modifier_flags(TRAPS) const;
  1342 
  1341