mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
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
This commit is contained in:
parent
eea84b4feb
commit
c8990959f2
14 changed files with 109 additions and 139 deletions
|
@ -123,6 +123,8 @@ class Method : public Metadata {
|
|||
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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue