RFR: 8310489: New test runtime/ClassInitErrors/TestStackOverflowDuringInit.java failed

David Holmes dholmes at openjdk.org
Mon Jun 26 06:45:21 UTC 2023


I haven't been able to reproduce the failure outside of the occasional CI failures we have, but I have done some further analysis.

I've extracted the key aspects of the test and put them in a simplified "non fuzzed" form so that it is much easier to see what the test does and what it expects to happen. I've also tweak the running the test so that it uses the minimum amount of stack (so we get stackoverflow sooner) and runs in interpreted mode (so we eliminate any potential JIT oddities with inlining etc.). Hopefully this will be more stable - otherwise I will just delete the test.

Testing:
 - 50x on each x64 platform in our CI

Thanks.

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

Commit messages:
 - 8310489: New test runtime/ClassInitErrors/TestStackOverflowDuringInit.java failed

Changes: https://git.openjdk.org/jdk/pull/14648/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14648&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310489
  Stats: 50 lines in 1 file changed: 25 ins; 22 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14648.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14648/head:pull/14648

PR: https://git.openjdk.org/jdk/pull/14648


More information about the hotspot-runtime-dev mailing list