RFR: 8316711: SEGV in LoaderConstraintTable::find_loader_constraint after JDK-8310874

Daniel D. Daugherty dcubed at openjdk.org
Fri Sep 22 17:38:13 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)

Thumbs up. Thanks for documenting the testing that you've done.

-------------

Marked as reviewed by dcubed (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15891#pullrequestreview-1640393802


More information about the hotspot-runtime-dev mailing list