Integrated: 8316711: SEGV in LoaderConstraintTable::find_loader_constraint after JDK-8310874
Coleen Phillimore
coleenp at openjdk.org
Fri Sep 22 22:02:21 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)
This pull request has now been integrated.
Changeset: 68a9c810
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/68a9c81040affe165341ec7dcd2c07932c8a7188
Stats: 7 lines in 2 files changed: 3 ins; 4 del; 0 mod
8316711: SEGV in LoaderConstraintTable::find_loader_constraint after JDK-8310874
Reviewed-by: dcubed, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/15891
More information about the hotspot-runtime-dev
mailing list