RFR: 8356885: Don't emit C1 profiling for casts if TypeProfileCasts is off

Igor Veresov iveresov at openjdk.org
Tue May 13 20:42:07 UTC 2025


Make sure we don't try to emit cast type profiling if TypeProfileCast == false

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

Commit messages:
 - Harden the test
 - Check TypeProfileCast before emitting type profiling for casts

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

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


More information about the hotspot-compiler-dev mailing list