7033141: assert(has_cp_cache(i)) failed: oob

Unrewrite bytecodes for OOM error allocating the constant pool cache.

Reviewed-by: dcubed, acorn, never
This commit is contained in:
Coleen Phillimore 2011-05-21 15:39:54 -07:00
parent 8b76becfe7
commit 57769e3600
7 changed files with 164 additions and 66 deletions

View file

@ -392,6 +392,7 @@ class instanceKlass: public Klass {
bool link_class_or_fail(TRAPS); // returns false on failure
void unlink_class();
void rewrite_class(TRAPS);
void relocate_and_link_methods(TRAPS);
methodOop class_initializer();
// set the class to initialized if no static initializer is present