On Wed, 10 Sep 2025 08:53:13 GMT, Christian Hagedorn <chaged...@openjdk.org> 
wrote:

>> Is this going to be GC independent? What if the VM swaps to another GC 
>> ergonomically?
>
> The test runs with `vm.flagless`. But I suggest to just go with `>= 1` 
> instead to be on the safe side. The purpose of this IR rule in the context of 
> this test is really just that it does not fail and not about catching real 
> issues/verifying the IR.
> 
> If we still want to test the improved loop unrolling opportunities, I suggest 
> to create a separate IR test for it, possibly in a separate RFE.

I suppose that's probably not possible, as far as I know we always run with 
G1GC, so it should be fine :)
We could put an upper bound of 3, maybe 4 here though. Just see what passes.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23739#discussion_r2336663260

Reply via email to