[jdk21u-dev] RFR: 8358748: Large page size initialization fails with assert "page_size must be a power of 2"

Martin Doerr mdoerr at openjdk.org
Mon Oct 27 11:45:51 UTC 2025


On Sat, 25 Oct 2025 18:16:06 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 21.0.10-oracle
> 
> Needed resolves. In the code due to context.
> The test had an other flag it tests, I could have kept that
> but I thought it's better to use the one from this change.

test/lib-test/jdk/test/whitebox/vm_flags/SizeTTest.java line 10:

> 8:  *
> 9:  * This code is distributed in the hope that it will be useful, but WITHOUT
> 10:  * ANY WARRANTY; without even the implied warranty of MERCHANTABILTY or

Seems like this was changed by mistake. Otherwise, the backport LGTM.

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

PR Review Comment: https://git.openjdk.org/jdk21u-dev/pull/2397#discussion_r2465347306


More information about the jdk-updates-dev mailing list