• Type: Sub-task
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: hotspot
    • generic
    • linux

      During review discussions of JDK-8350596 it was noted that the MaxRAMPercentage bump should only happen when there is a memory limit present. That is, OSContainer::is_containerized() is not sufficient since that returns true when the JVM runs in containers without limits being present.

      I suggest we introduce the following (returning boolean):

      OSContainer::has_memory_limit()

      It implies OSContainer::is_containerized() == true.

            Assignee:
            Severin Gehwolf
            Reporter:
            Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: