RFR: 8260934: java/lang/StringBuilder/HugeCapacity.java fails without Compact Strings
Aleksey Shipilev
shade at openjdk.java.net
Tue Feb 9 19:48:07 UTC 2021
On Tue, 9 Feb 2021 19:28:27 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> The VM options specified by the `@test` line are appended after the options specified by `-vmoptions`. So this test is executed in two different configurations (not twice in the same configuration).
Right, okay, so the last option wins, this is good. We can do what the updated version does. ...but then we also need to handle platforms where `-XX:-CompactStrings` is set by platform config (e.g. on ARM). `-XX:+CompactStrings` would be ignored there, and we cannot run test with `true` then. I think only ARM32 is affected, so it would be filtered by existing `@requires`, so it can be resolved later.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2355
More information about the core-libs-dev
mailing list