hotspot/src/share/vm/oops/instanceKlass.hpp
changeset 26135 82b516c550f7
parent 25492 d27050bdfb04
child 26558 b7df27df6384
equal deleted inserted replaced
25956:99be217ac88d 26135:82b516c550f7
   978   ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL)
   978   ALL_OOP_OOP_ITERATE_CLOSURES_2(InstanceKlass_OOP_OOP_ITERATE_BACKWARDS_DECL)
   979 #endif // INCLUDE_ALL_GCS
   979 #endif // INCLUDE_ALL_GCS
   980 
   980 
   981   u2 idnum_allocated_count() const      { return _idnum_allocated_count; }
   981   u2 idnum_allocated_count() const      { return _idnum_allocated_count; }
   982 
   982 
       
   983 public:
       
   984   void set_in_error_state() {
       
   985     assert(DumpSharedSpaces, "only call this when dumping archive");
       
   986     _init_state = initialization_error;
       
   987   }
       
   988   bool check_sharing_error_state();
       
   989 
   983 private:
   990 private:
   984   // initialization state
   991   // initialization state
   985 #ifdef ASSERT
   992 #ifdef ASSERT
   986   void set_init_state(ClassState state);
   993   void set_init_state(ClassState state);
   987 #else
   994 #else
  1036   // Free CHeap allocated fields.
  1043   // Free CHeap allocated fields.
  1037   void release_C_heap_structures();
  1044   void release_C_heap_structures();
  1038 public:
  1045 public:
  1039   // CDS support - remove and restore oops from metadata. Oops are not shared.
  1046   // CDS support - remove and restore oops from metadata. Oops are not shared.
  1040   virtual void remove_unshareable_info();
  1047   virtual void remove_unshareable_info();
  1041   virtual void restore_unshareable_info(TRAPS);
  1048   virtual void restore_unshareable_info(ClassLoaderData* loader_data, Handle protection_domain, TRAPS);
  1042 
  1049 
  1043   // jvm support
  1050   // jvm support
  1044   jint compute_modifier_flags(TRAPS) const;
  1051   jint compute_modifier_flags(TRAPS) const;
  1045 
  1052 
  1046   // JSR-292 support
  1053   // JSR-292 support