RFR: 8284900: Check InitialHeapSize and container memory limits before startup [v3]

xpbob duke at openjdk.java.net
Tue Apr 19 02:19:28 UTC 2022


On Mon, 18 Apr 2022 16:43:32 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Could you update the bug report to indicate the exact command used? This is not very clear:
> 
> ```
> Start the command:cgexec -g memory:foo -Xms60m xxx
> ```

@iklam 
Thanks to review.
I updated the simulation

Simulation environment:
cgexec -g memory:foo java -XshowSettings:system -Xms60m -version (The successful running)
use -XX:+AlwaysPreTouch to simulate a long-running program
cgexec -g memory:foo java -XshowSettings:system -Xms60m -XX:+AlwaysPreTouch -version(killed by cgroup)

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

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



More information about the hotspot-gc-dev mailing list