mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
This commit is contained in:
parent
a6a13b5344
commit
606468abc4
3 changed files with 146 additions and 3 deletions
|
@ -4089,9 +4089,6 @@ void VM_RedefineClasses::redefine_single_class(jclass the_jclass,
|
|||
mnt->adjust_method_entries(the_class(), &trace_name_printed);
|
||||
}
|
||||
|
||||
// Fix Resolution Error table also to remove old constant pools
|
||||
SystemDictionary::delete_resolution_error(old_constants);
|
||||
|
||||
if (the_class->oop_map_cache() != NULL) {
|
||||
// Flush references to any obsolete methods from the oop map cache
|
||||
// so that obsolete methods are not pinned.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue