RFR: 8324345: Stack overflow during C2 compilation when splitting memory phi [v2]

Tobias Hartmann thartmann at openjdk.org
Wed Jul 31 06:40:33 UTC 2024


On Fri, 19 Jul 2024 12:23:27 GMT, Daniel Lundén <dlunden at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/vectorapi/VectorReplicateLongSpecialImmTest.java line 39:
>> 
>>> 37:  * @requires os.arch == "aarch64"
>>> 38:  * @modules jdk.incubator.vector
>>> 39:  * @run testng/othervm -XX:UseSVE=0 -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=MemLimit,*.*,0 compiler.vectorapi.VectorReplicateLongSpecialImmTest
>> 
>> Does that mean we hit the bailout here and re-compilations hits the memory limit?
>
> Yes, exactly. We hit the memory limit later on, in register allocation. I suggest investigating in a separate issue, if there are no objections.

Sounds good. Please file a separate issue then.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20238#discussion_r1697977050


More information about the hotspot-compiler-dev mailing list