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

Chuanqi Zang duke at openjdk.org
Mon May 19 02:34:34 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

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 five additional commits since the last revision:

 - Merge branch 'jbs/8261235' of github.com:zangcq/jdk8u-dev into jbs/8261235
 - Fix codestyle
 - 8261235: C1 compilation fails with assert(res->vreg_number() == index) failed: conversion check
 - 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/4e5ef69d..931d2a9b

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

  Stats: 3979 lines in 113 files changed: 2585 ins; 864 del; 530 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