On Mon, 19 Apr 2021 12:07:21 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
>> Christoph Göttschkes has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Removes -Xmx2g for the first test case instance, which doesn't require a >> lot of memory. > > test/jdk/java/lang/String/StringRepeat.java line 27: > >> 25: * @test >> 26: * @summary This exercises String#repeat patterns and limits. >> 27: * @run main/othervm -Xmx2g StringRepeat > > So, does `-Xmx2g` make sense in this configuration now? No, not really. The first test case instance should require way less than 1G of memory, so I will just remove the heap configuration for that instance. ------------- PR: https://git.openjdk.java.net/jdk/pull/3566