[jdk8u-dev] RFR: 8261235: C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check

Chuanqi Zang duke at openjdk.org
Mon Mar 10 15:13:35 UTC 2025


Hi all,

This is backport [JDK-8261235](https://bugs.openjdk.org/browse/JDK-8261235) from jdk17 to jdk8u-dev, to fix C1 compilation failed in HugeMethods.

File 'hotspot/test/compiler/c1/TestTooManyVirtualRegistersMain.java'  remove  annotation '  @requires vm.compiler1.enabled
'
other file mainly in copyrighht year different.  

it's necessary for jdk8u-dev.

Change has been verified locally, we do test jdk-tier1 tier2 and hotspot-tier1 passed, no risk.

 [JDK-8261235](https://bugs.openjdk.org/browse/JDK-8261235) : C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check

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

Commit messages:
 - 8261235: C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check

Changes: https://git.openjdk.org/jdk8u-dev/pull/622/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=622&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8261235
  Stats: 4149 lines in 6 files changed: 4135 ins; 2 del; 12 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/622.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/622/head:pull/622

PR: https://git.openjdk.org/jdk8u-dev/pull/622


More information about the jdk8u-dev mailing list