[Bug 3316] [IcedTea7] Use cgroup information to determine cpu and memory limits in OpenJDK

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sat Feb 4 23:01:05 UTC 2017


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3316

--- Comment #1 from Andrew John Hughes <gnu.andrew at redhat.com> ---
$ strace -f -o /tmp/out /mnt/builder/icedtea7/j2sdk-image/bin/java
-XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions
-XX:+UseCGroupMemoryLimitForHeap -version |grep MaxHeap
    uintx MaxHeapFreeRatio                          = 100            
{manageable}        
    uintx MaxHeapSize                              := 2105540608      {product} 
java version "1.7.0-internal"
OpenJDK Runtime Environment (Gentoo build
1.7.0-internal-andrew_2017_02_04_18_59-b00+rc235a4bc97a2)
OpenJDK 64-Bit Server VM (build 24.95-b00-r64864fbb5a99+, mixed mode)

$ cat /tmp/out |grep cgroup
11968 open("/sys/fs/cgroup/memory/memory.limit_in_bytes", O_RDONLY) = 3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170204/301df50a/attachment.html>


More information about the distro-pkg-dev mailing list