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

Roland Westrelin roland at openjdk.org
Tue Dec 2 11:21:05 UTC 2025


On Mon, 1 Dec 2025 16:17:03 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - review
>>  - review
>
> src/hotspot/share/opto/compile.hpp line 810:
> 
>> 808:   // Compilation environment.
>> 809:   Arena*      comp_arena()           { return &_comp_arena; }
>> 810:   ResourceArea* idealloop_arena()    { return &_idealloop_arena; }
> 
> Should we make it more idiomatic C++ by having the `ResourceArea` allocated and deallocated together with the `PhaseIdealLoop` instead of attaching it to the `Compile` object?

Right, that makes sense. Done in new commits.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28581#discussion_r2580735137


More information about the hotspot-dev mailing list