On Wed, 14 Apr 2021 12:03:12 GMT, Jaroslav Bachorik <[email protected]>
wrote:
>> src/jdk.jfr/share/classes/jdk/jfr/events/ContainerMemoryUsageEvent.java line
>> 46:
>>
>>> 44: public final class ContainerMemoryUsageEvent extends AbstractJDKEvent {
>>> 45: @Label("Memory Pressure")
>>> 46: @Description("(attempts per second * 1000), if enabled, that the
>>> operating system tries to satisfy a memory request for any " +
>>
>> This unit seems a bit strange. Do we really need to multiply by 1000?
>
> This is taken as reported by cgroups - I didn't want to change the semantics
> so it does not confuse people familiar with cgroups.
I don't see this event field being set anywhere? Which Metrics API call is this
using?
-------------
PR: https://git.openjdk.java.net/jdk/pull/3126