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

Chuanqi Zang duke at openjdk.org
Mon Feb 9 21:48:11 UTC 2026


> 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

Chuanqi Zang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge branch 'master' into jbs/8261235
 - Fix codestyle
 - Fix codestyle
 - 8261235: C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/622/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/622/files/8749dc3b..db5b3501

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=622&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=622&range=04-05

  Stats: 195735 lines in 743 files changed: 181487 ins; 10905 del; 3343 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