diff src/share/vm/oops/method.hpp @ 17883:9428a0b94204

8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool) Summary: Keep class in CLD::_klasses list and mirror created for CDS classes if OOM during restore_shareable_info(). This keeps pointers consistent for CMS. Reviewed-by: ehelin, stefank, jmasa, iklam
author coleenp
date Tue, 15 Apr 2014 17:02:20 -0400
parents 3205e78d8193
children 7384f6a12fc1
line wrap: on
line diff
--- a/src/share/vm/oops/method.hpp	Thu Feb 13 10:05:03 2014 +0100
+++ b/src/share/vm/oops/method.hpp	Tue Apr 15 17:02:20 2014 -0400
@@ -156,6 +156,8 @@
   void restore_vtable() { guarantee(is_method(), "vtable restored by this call"); }
   bool is_method() const volatile { return true; }
 
+  void restore_unshareable_info(TRAPS);
+
   // accessors for instance variables
 
   ConstMethod* constMethod() const             { return _constMethod; }