[External] : Re: Moving Forward with AHS for G1

Erik Osterlund erik.osterlund at oracle.com
Sat Apr 12 09:48:01 UTC 2025



> On 12 Apr 2025, at 10:07, Man Cao <manc at google.com> wrote:
> 
> In fact, the custom container is more of an extension or wrapper on top of cgroup. It is quite likely we have internal patches to the OS kernel to support the custom container.

Okay, that makes sense. So you do use cgroups for your containers. And you do want to limit their memory. So why don’t you want to use the cgroup memory limits?

> It seems that RssLimit is not necessarily easier to use than CurrentMaxHeapSize, but definitely more complicated to implement (due to 1 and 2).

Okay.

/Erik


More information about the hotspot-gc-dev mailing list