RFR: 8350811: [JMH] test foreign.StrLenTest failed with StringIndexOutOfBoundsException for size=451 [v2]

Jatin Bhateja jbhateja at openjdk.org
Fri Mar 7 06:08:00 UTC 2025


On Tue, 4 Mar 2025 19:37:32 GMT, Vladimir Ivanov <vaivanov at openjdk.org> wrote:

>> test setup was updated to generate data of requested size.
>
> Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   JDK-8350811 [JMH] test foreign.StrLenTest failed with StringIndexOutOfBoundsException for size=451

test/micro/org/openjdk/bench/java/lang/foreign/StrLenTest.java line 57:

> 55: 
> 56:     SegmentAllocator segmentAllocator;
> 57:     SegmentAllocator arenaAllocator;

Please update the copyright of this and other modified files.

test/micro/org/openjdk/bench/java/lang/foreign/StrLenTest.java line 60:

> 58:     SlicingPool pool;
> 59: 
> 60:     @Param({"5", "20", "100"})

Can you also add size 451 in this list as this is what was fixed :-)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23873#discussion_r1984488315
PR Review Comment: https://git.openjdk.org/jdk/pull/23873#discussion_r1984497674


More information about the core-libs-dev mailing list