1.1 --- a/src/share/vm/oops/instanceKlass.hpp Fri Aug 22 12:03:49 2014 -0700 1.2 +++ b/src/share/vm/oops/instanceKlass.hpp Thu Aug 21 13:57:51 2014 -0700 1.3 @@ -1004,6 +1004,13 @@ 1.4 1.5 u2 idnum_allocated_count() const { return _idnum_allocated_count; } 1.6 1.7 +public: 1.8 + void set_in_error_state() { 1.9 + assert(DumpSharedSpaces, "only call this when dumping archive"); 1.10 + _init_state = initialization_error; 1.11 + } 1.12 + bool check_sharing_error_state(); 1.13 + 1.14 private: 1.15 // initialization state 1.16 #ifdef ASSERT 1.17 @@ -1062,7 +1069,7 @@ 1.18 public: 1.19 // CDS support - remove and restore oops from metadata. Oops are not shared. 1.20 virtual void remove_unshareable_info(); 1.21 - virtual void restore_unshareable_info(TRAPS); 1.22 + virtual void restore_unshareable_info(ClassLoaderData* loader_data, Handle protection_domain, TRAPS); 1.23 1.24 // jvm support 1.25 jint compute_modifier_flags(TRAPS) const;