mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8159666: Better CDS support for Event-based tracing
Reviewed-by: jiangli, mgronlun
This commit is contained in:
parent
a52192d206
commit
79377a1bf1
3 changed files with 11 additions and 1 deletions
|
@ -1961,6 +1961,11 @@ void InstanceKlass::remove_unshareable_info() {
|
|||
m->remove_unshareable_info();
|
||||
}
|
||||
|
||||
// cached_class_file might be pointing to a malloc'ed buffer allocated by
|
||||
// event-based tracing code at CDS dump time. It's not usable at runtime
|
||||
// so let's clear it.
|
||||
set_cached_class_file(NULL);
|
||||
|
||||
// do array classes also.
|
||||
array_klasses_do(remove_unshareable_in_class);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue