RFR: 8370519: C2: Hit MemLimit when running with +VerifyLoopOptimizations [v5]

Roland Westrelin roland at openjdk.org
Thu Dec 11 13:02:43 UTC 2025


> For this failure memory stats are:
> 
> 
> Total Usage: 1095525816 
>     --- Arena Usage by Arena Type and compilation phase, at arena usage peak of 1095525816 ---
>         Phase                         Total        ra      node      comp      type    states   reglive  regsplit   regmask superword     cienv        ha     other
>         none                        5976032    331560   5402064    197512     33712     10200         0         0       984         0         0         0         0
>         parse                       2716464     65456   1145480    196408   1112752         0         0         0         0         0    196368         0         0
>         optimizer                     98184         0     32728         0     65456         0         0         0         0         0         0         0         0
>         connectionGraph               32728         0         0     32728         0         0         0         0         0         0         0         0         0
>         iterGVN                       32728         0     32728         0         0         0         0         0         0         0         0         0         0
>         idealLoop                 918189632         0  38687056 872824784    392776         0         0         0         0         0   6285016         0         0
>         idealLoopVerify             2228144         0         0   2228144         0         0         0         0         0         0         0         0         0
>         macroExpand                   32728         0     32728         0         0         0         0         0         0         0         0         0         0
>         graphReshape                  32728         0     32728         0         0         0         0         0         0         0         0         0         0
>         matcher                    20135944   3369848   9033208   7536400     65456    131032         0         0         0         0         0         0         0
>         postselect_cleanup           294872    294872         0         0         0         0         0         0         0         0         0         0         0
>         scheduler                    752944    196488    556456         0         0         0         0         0         0         0         0         0         0
>         regalloc                     388736    388736         0         0         0         0         0         0         0         0         0         0         0
>         ctorChaitin                  160032    ...

Roland Westrelin 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 14 additional commits since the last revision:

 - review
 - Merge branch 'master' into JDK-8370519
 - Update test/hotspot/jtreg/compiler/c2/TestVerifyLoopOptimizationsHighMemUsage.java
   
   Co-authored-by: Emanuel Peter <emanuel.peter at oracle.com>
 - Update test/hotspot/jtreg/compiler/c2/TestVerifyLoopOptimizationsHighMemUsage.java
   
   Co-authored-by: Benoît Maillard <benoit.maillard at protonmail.com>
 - Update src/hotspot/share/opto/loopnode.hpp
   
   Co-authored-by: Emanuel Peter <emanuel.peter at oracle.com>
 - review
 - review
 - Update src/hotspot/share/opto/compile.hpp
   
   Co-authored-by: Manuel Hässig <manuel at haessig.org>
 - whitespaces
 - more
 - ... and 4 more: https://git.openjdk.org/jdk/compare/7f29f798...8411ff3d

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28581/files
  - new: https://git.openjdk.org/jdk/pull/28581/files/133fcddc..8411ff3d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28581&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28581&range=03-04

  Stats: 45013 lines in 627 files changed: 27798 ins; 14172 del; 3043 mod
  Patch: https://git.openjdk.org/jdk/pull/28581.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28581/head:pull/28581

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


More information about the hotspot-dev mailing list