mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8181170: resolved_references array leaks for RedefineClasses
Clear out resolved_reference from ClassLoaderData::_handles Reviewed-by: stefank, jiangli, sspitsyn
This commit is contained in:
parent
897a7b3f67
commit
8330d49736
6 changed files with 37 additions and 4 deletions
|
@ -364,6 +364,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
|
|||
const char* loader_name();
|
||||
|
||||
OopHandle add_handle(Handle h);
|
||||
void remove_handle(OopHandle h);
|
||||
void init_handle_locked(OopHandle& pd, Handle h); // used for concurrent access to ModuleEntry::_pd field
|
||||
void add_class(Klass* k, bool publicize = true);
|
||||
void remove_class(Klass* k);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue