src/share/vm/oops/arrayKlass.hpp

Print this page
rev 6853 : 8046070: Class Data Sharing clean up and refactoring
Summary: Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung


 120  public:
 121   // Iterators
 122   void array_klasses_do(void f(Klass* k));
 123   void array_klasses_do(void f(Klass* k, TRAPS), TRAPS);
 124 
 125   // GC support
 126   virtual void oops_do(OopClosure* cl);
 127 
 128   // Return a handle.
 129   static void     complete_create_array_klass(ArrayKlass* k, KlassHandle super_klass, TRAPS);
 130 
 131 
 132   // jvm support
 133   jint compute_modifier_flags(TRAPS) const;
 134 
 135   // JVMTI support
 136   jint jvmti_class_status() const;
 137 
 138   // CDS support - remove and restore oops from metadata. Oops are not shared.
 139   virtual void remove_unshareable_info();
 140   virtual void restore_unshareable_info(TRAPS);
 141 
 142   // Printing
 143   void print_on(outputStream* st) const;
 144   void print_value_on(outputStream* st) const;
 145 
 146   void oop_print_on(oop obj, outputStream* st);
 147 
 148   // Verification
 149   void verify_on(outputStream* st);
 150 
 151   void oop_verify_on(oop obj, outputStream* st);
 152 };
 153 
 154 #endif // SHARE_VM_OOPS_ARRAYKLASS_HPP


 120  public:
 121   // Iterators
 122   void array_klasses_do(void f(Klass* k));
 123   void array_klasses_do(void f(Klass* k, TRAPS), TRAPS);
 124 
 125   // GC support
 126   virtual void oops_do(OopClosure* cl);
 127 
 128   // Return a handle.
 129   static void     complete_create_array_klass(ArrayKlass* k, KlassHandle super_klass, TRAPS);
 130 
 131 
 132   // jvm support
 133   jint compute_modifier_flags(TRAPS) const;
 134 
 135   // JVMTI support
 136   jint jvmti_class_status() const;
 137 
 138   // CDS support - remove and restore oops from metadata. Oops are not shared.
 139   virtual void remove_unshareable_info();
 140   virtual void restore_unshareable_info(ClassLoaderData* loader_data, Handle protection_domain, TRAPS);
 141 
 142   // Printing
 143   void print_on(outputStream* st) const;
 144   void print_value_on(outputStream* st) const;
 145 
 146   void oop_print_on(oop obj, outputStream* st);
 147 
 148   // Verification
 149   void verify_on(outputStream* st);
 150 
 151   void oop_verify_on(oop obj, outputStream* st);
 152 };
 153 
 154 #endif // SHARE_VM_OOPS_ARRAYKLASS_HPP