mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
Merge
This commit is contained in:
commit
25c41c6094
25 changed files with 733 additions and 102 deletions
|
@ -3993,8 +3993,8 @@ void VM_RedefineClasses::redefine_single_class(jclass the_jclass,
|
|||
the_class->get_cached_class_file_bytes()) {
|
||||
// The same class can be present twice in the scratch classes list or there
|
||||
// are multiple concurrent RetransformClasses calls on different threads.
|
||||
// In such cases we have to deallocate scratch_class cached_class_file_bytes.
|
||||
os::free(scratch_class->get_cached_class_file_bytes());
|
||||
// In such cases we have to deallocate scratch_class cached_class_file.
|
||||
os::free(scratch_class->get_cached_class_file());
|
||||
}
|
||||
|
||||
// NULL out in scratch class to not delete twice. The class to be redefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue