RFR: 8316711: SEGV in LoaderConstraintTable::find_loader_constraint after JDK-8310874
Ioi Lam
iklam at openjdk.org
Fri Sep 22 19:07:11 UTC 2023
On Fri, 22 Sep 2023 16:51:42 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> The new loader constraint code was putting the InstanceKlass on the deallocate list, then safepointing, then trying to find it in the LoaderConstraintTable. In the crash, the InstanceKlass was deallocated before searching for it in the table. The fix is to use the proper order.
> Tested multiple runs with closed failing tests, and tier1-4 (1 test left)
LGTM
-------------
Marked as reviewed by iklam (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15891#pullrequestreview-1640505129
More information about the hotspot-runtime-dev
mailing list