RFR: 8203359: Container level resources events [v8]
Severin Gehwolf
sgehwolf at openjdk.java.net
Wed Apr 14 14:35:49 UTC 2021
On Wed, 14 Apr 2021 12:03:12 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> 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
More information about the hotspot-jfr-dev
mailing list