RFR: 8266576: dynamicArchive/ParallelLambdaLoadTest.java crashes in tier2 testing
Yumin Qi
minqi at openjdk.java.net
Fri May 7 04:00:15 UTC 2021
Hi, Please review
In dynamic dump, the lambda invoker holder classes are regenerated in DynamicArchive::dump, which is after shutdown hook executed. The returned objects from the regeneration may contain invalid contents which caused crash like in this bug. It is late to execute java code, the fix is to move the call into MetaspaceShared::link_and_cleanup_shared_classes which is before shutdown hook, before halt.
JDK-8266585 and JDK-8266594 failed in different patterns, could be the same reason.
Tests: tier1,tier2
Thanks
Yumin
-------------
Commit messages:
- 8266576: dynamicArchive/ParallelLambdaLoadTest.java crashes in tier2 testing
Changes: https://git.openjdk.java.net/jdk/pull/3910/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3910&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8266576
Stats: 14 lines in 2 files changed: 9 ins; 5 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/3910.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3910/head:pull/3910
PR: https://git.openjdk.java.net/jdk/pull/3910
More information about the hotspot-runtime-dev
mailing list