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

Add a command line option to set a refresh rate of the OS cached metrics in Linux

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • tbd
    • 20
    • hotspot

    Description

      A user has an environment with 50+ containerized java (JDK 17) running simultaneously on Linux. Some performance issue is observed and it is suspected that the root cause is the hardcoded timeout of 20 ms between re-readings of the OS cached metrics (memory limit and active processor count) that is expensive in a containerized environment. This timeout was introduced in JDK-8232207. In relation to this there is a request to have a possibility to set the refresh rate of the OS cached metrics at the launch time.

      Attachments

        Issue Links

          Activity

            People

              omikhaltcova Olga Mikhaltcova
              omikhaltcova Olga Mikhaltcova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: