RFR: 8299226: compiler/profiling/TestTypeProfiling.java: make it not throw if C2 is not enabled.

Ilya Korennoy duke at openjdk.org
Fri Mar 10 20:08:25 UTC 2023


Changing RuntimeException to SkippedException when TieredStopAtLevel < 4.

The main part of this problem was done in [JDK-8226795](https://bugs.openjdk.org/browse/JDK-8226795) but for some reason, the exception was not changed.

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

Commit messages:
 - 8299226: Throw SkippedException instead of RuntimeException in case of TieredStopAtLevel < 4

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

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


More information about the hotspot-compiler-dev mailing list