Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
17876:9c3dc501b5eb | 17883:9428a0b94204 |
---|---|
154 // all the gory details. SA, dtrace and pstack helpers distinguish metadata | 154 // all the gory details. SA, dtrace and pstack helpers distinguish metadata |
155 // by their vtable. | 155 // by their vtable. |
156 void restore_vtable() { guarantee(is_method(), "vtable restored by this call"); } | 156 void restore_vtable() { guarantee(is_method(), "vtable restored by this call"); } |
157 bool is_method() const volatile { return true; } | 157 bool is_method() const volatile { return true; } |
158 | 158 |
159 void restore_unshareable_info(TRAPS); | |
160 | |
159 // accessors for instance variables | 161 // accessors for instance variables |
160 | 162 |
161 ConstMethod* constMethod() const { return _constMethod; } | 163 ConstMethod* constMethod() const { return _constMethod; } |
162 void set_constMethod(ConstMethod* xconst) { _constMethod = xconst; } | 164 void set_constMethod(ConstMethod* xconst) { _constMethod = xconst; } |
163 | 165 |