On Tue, 8 Sep 2026 03:59:00 GMT, April Ivy <[email protected]> wrote:

> Now that the message is reachable, could it print the minimum too? Someone 
> who typed 16 meaning 16m is told they are below the minimum without being 
> told what it is.

Good point, thanks. I updated the error message to include the minimum region 
size:


java -XX:G1HeapRegionSize=16 -version
G1HeapRegionSize (16) must be greater than or equal to ergonomic heap region 
minimum size (1048576)
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

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

PR Comment: https://git.openjdk.org/jdk/pull/32749#issuecomment-5580452717

Reply via email to