RFR: 8371315: java/foreign/sharedclosejfr/TestSharedCloseJFR.java failed with -XX:-TieredCompilation

Jorn Vernee jvernee at openjdk.org
Thu Nov 6 11:42:32 UTC 2025


Borrowed from the original `InternalErrorTest` which this test was based on, disabling compilation of the main method fixes this issue. (I've found that `-XX:-UseOnStackReplacement` works as well, which effectively does the same thing).

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

Commit messages:
 - Disable compilation of main method

Changes: https://git.openjdk.org/jdk/pull/28149/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28149&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371315
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/28149.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28149/head:pull/28149

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


More information about the core-libs-dev mailing list