Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit

Permalink
8268635: Corrupt oop in ClassLoaderData
Browse files Browse the repository at this point in the history
Reviewed-by: coleenp
Backport-of: 3586a23
  • Loading branch information
William Kemper authored and RealCLanger committed Jul 15, 2021
1 parent a32d2ee commit e104ded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/share/classfile/classLoaderData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ void ClassLoaderData::init_handle_locked(OopHandle& dest, Handle h) {
if (dest.resolve() != NULL) {
return;
} else {
record_modified_oops();
dest = _handles.add(h());
}
}
Expand Down

1 comment on commit e104ded

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.