RFR: 8367613: Test compiler/runtime/TestDontCompileHugeMethods.java failed [v2]

Man Cao manc at openjdk.org
Tue Sep 16 21:59:10 UTC 2025


> Hi,
> 
> Could anyone approve this change that exclude this test when running with `-Xcomp`? This avoids the test failure reported in [JDK-8367613](https://bugs.openjdk.org/browse/JDK-8367613).
> 
> For reasons I don't yet understand, the `HugeSwitch::shortMethod` method is not compiled under `-Xcomp  -XX:TieredStopAtLevel=1`. The method gets compiled with either `-Xcomp` or `-XX:TieredStopAtLevel=1`, but not both. I appreciate if anyone could provide insights on possible reasons.

Man Cao has updated the pull request incrementally with one additional commit since the last revision:

  Switch to disable inlining for shortMethod

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27306/files
  - new: https://git.openjdk.org/jdk/pull/27306/files/f460dc4d..93540e05

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27306&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27306&range=00-01

  Stats: 6 lines in 1 file changed: 4 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/27306.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27306/head:pull/27306

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


More information about the hotspot-compiler-dev mailing list