Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8343599

Kmem limit and max values swapped when printing container information

XMLWordPrintable

    • b25

        When improving the container information in JDK-8287011, the values for limit and max for kernel memory got mixed up. Code looks like this:
        ```
          OSContainer::print_container_helper(st, kmem_usage, "kernel_memory_usage_in_bytes");
          OSContainer::print_container_helper(st, kmem_limit, "kernel_memory_max_usage_in_bytes");
          OSContainer::print_container_helper(st, kmem_max_usage, "kernel_memory_limit_in_bytes");
        ```

        This information is displayed in hs_err-files and it gives the impression that we've hit the kernel limit (if we are at peak usage) even though we haven't.

              szaldana Sonia Zaldana Calles (Inactive)
              sjohanss Stefan Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: