RFR: 8296125: Add a command line option to set a refresh rate of the OS cached metrics in Linux [v2]

David Holmes dholmes at openjdk.org
Wed Nov 2 12:36:33 UTC 2022


On Wed, 2 Nov 2022 06:00:59 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Please also remove OSCONTAINER_CACHE_TIMEOUT definition from osContainer_linux.hpp.
>> 
>> Cheers, Thomas
>
>> Please also remove OSCONTAINER_CACHE_TIMEOUT definition from osContainer_linux.hpp.
>> 
> 
> Oh never mind, I see you did this already.

> > @tstuefe if the option is DIAGNOSTIC then I don't need CSR, right?
> 
> Exactly :)

Avoiding a CSR request is not a reason to make a flag DIAGNOSTIC. A diagnostic flag is something you change to try and debug a problem in a product build, it is not something you always set. If some applications in some environments will need to run permanently with a different refresh rate then this should remain a full-fledged product flag.

-------------

PR: https://git.openjdk.org/jdk/pull/10918


More information about the hotspot-runtime-dev mailing list