8268635: Corrupt oop in ClassLoaderData

Reviewed-by: iklam, dholmes
This commit is contained in:
Coleen Phillimore 2021-07-07 12:40:34 +00:00
parent bffb1a7199
commit 3586a233a4

View File

@ -806,6 +806,7 @@ void ClassLoaderData::init_handle_locked(OopHandle& dest, Handle h) {
if (dest.resolve() != NULL) {
return;
} else {
record_modified_oops();
dest = _handles.add(h());
}
}