RFR: 8257230: assert(InitialHeapSize >= MinHeapSize) failed: Ergonomics decided on incompatible initial and minimum heap sizes

Jie Fu jiefu at openjdk.java.net
Mon Nov 30 23:34:01 UTC 2020


On Mon, 30 Nov 2020 17:24:39 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> 
> In this case I think I would prefer moving the the call `limit_by_allocatable_memory(reasonable_initial);` [1] to right after the calculation on line 1902 [2]. This way we would only have one line doing lower limiting and one line doing upper limiting.
> 

Good suggestion!

Will test it soon.
Thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/1492



More information about the hotspot-gc-dev mailing list