[lworld] Integrated: 8306677: [lworld] TestCallingConventionC1 fails on AArch64 with -XX:+PatchALot

Tobias Hartmann thartmann at openjdk.org
Fri Apr 21 14:48:05 UTC 2023


On AArch64, patching in C1 is handled by deoptimization (`DEOPTIMIZE_WHEN_PATCHING`) and therefore TestCallingConventionC1 fails with `-XX:+PatchALot` because some test methods are unexpectedly deoptimized. The fix is to disable that flag if C1 is the only available compiler.

Best regards,
Tobias

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

Commit messages:
 - 8306677: [lworld] TestCallingConventionC1 fails on AArch64 with -XX:+PatchALot

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

PR: https://git.openjdk.org/valhalla/pull/842



More information about the valhalla-dev mailing list