RFR: 8366118: DontCompileHugeMethods is not respected with -XX:-TieredCompilation

Man Cao manc at openjdk.org
Mon Aug 25 19:43:53 UTC 2025


Hi,

Could anyone review this change that fixes https://bugs.openjdk.org/browse/JDK-8366118? When this bug happens, it is difficult or almost impossible to debug due to the lack of stack trace, hs-err log or core dump. Fortunately we are also experimenting with sigaltstack for https://bugs.openjdk.org/browse/JDK-8364654, and it helped immensely to identify the root cause.

I will also try adding a test case for DontCompileHugeMethod under -XX:-TieredCompilation.

-Man

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

Commit messages:
 - 8366118: DontCompileHugeMethods is not respected with -XX:-TieredCompilation

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

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


More information about the hotspot-compiler-dev mailing list