488 instanceKlassHandle scratch_class, |
488 instanceKlassHandle scratch_class, |
489 constantPoolHandle scratch_cp, int scratch_cp_length, TRAPS); |
489 constantPoolHandle scratch_cp, int scratch_cp_length, TRAPS); |
490 |
490 |
491 void flush_dependent_code(instanceKlassHandle k_h, TRAPS); |
491 void flush_dependent_code(instanceKlassHandle k_h, TRAPS); |
492 |
492 |
|
493 // lock classes to redefine since constant pool merging isn't thread safe. |
|
494 void lock_classes(); |
|
495 void unlock_classes(); |
|
496 |
493 static void dump_methods(); |
497 static void dump_methods(); |
494 |
498 |
495 // Check that there are no old or obsolete methods |
499 // Check that there are no old or obsolete methods |
496 class CheckClass : public KlassClosure { |
500 class CheckClass : public KlassClosure { |
497 Thread* _thread; |
501 Thread* _thread; |