[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

    IssueFix VersionAssigneePriorityStatusResolutionResolved In Build
    JDK-81972598u192 David HolmesP3ResolvedFixedb01
    JDK-81952648u172 David HolmesP3ResolvedFixedb03
    JDK-81900308u162 David HolmesP3ResolvedFixedb04
    JDK-81836578u161 David HolmesP3ResolvedFixedb01
    JDK-81723188u152 David HolmesP3ResolvedFixedb01
    JDK-81751498u151 David HolmesP3ResolvedFixedb01
    JDK-81851878u144 David HolmesP3ResolvedFixedb31
    JDK-81771708u141  UnassignedP3ResolvedFixedb01
    JDK-81740238u131 David HolmesP3ResolvedFixedb06
    JDK-81758988u121 David HolmesP3ClosedFixedb34
    JDK-8192176emb-8u161 David HolmesP3ResolvedFixedb01
    JDK-8184491emb-8u151  UnassignedP3ResolvedFixedb01
    JDK-8178562emb-8u141  UnassignedP3ResolvedFixedb01
    JDK-8174184emb-8u131 David HolmesP3ResolvedFixedb06
    JDK-8180973openjdk7u David HolmesP3ResolvedFixedmaster

      We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility):JDK-8146115

      There has been a non-Oracle submission to get some basic support for this into 9:

      http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

      then:

      http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

      It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

      This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.

        backported by

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8172318[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8174023[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8174184[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8175149[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8177170[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8178562[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8180973[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8183657[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8184491[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8185187[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8190030[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8192176[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8195264[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8197259[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8175898[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

        • P3 - Major loss of function.
        • Closed
        relates to

        Enhancement - nullJMC-5522Rule for memory settings when running in a container

        • P3 - Major loss of function.
        • Open

        Enhancement - nullJDK-8146115Improve docker container detection and resource configuration usage

        • P3 - Major loss of function.
        • Resolved
        (10 backported by, 2 relates to)