geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Lund <kl...@apache.org>
Subject StatSampler no longer logs fatal message for JDK-8207200
Date Tue, 08 Jan 2019 21:39:16 GMT
I just committed a change to develop which catches the
IllegalStateException caused by JDK-8207200 when the StatSampler samples
JVM memory usage using MemoryMXBean.

commit 1143af997292df0f6d480084ffd2103fa2c17bbf (origin/develop,
origin/HEAD)
Author: Kirk Lund <klund@apache.org>
Date:   Mon Jan 7 16:43:34 2019 -0800

    GEODE-6253: Handle JDK-8207200 gracefully in VM stats

The above change prevents the following, so please don't add any more
IgnoredExceptions to dunit tests for this:

[fatal 2019/01/04 00:15:19.050 UTC <StatSampler> tid=67] committed =
538968064 should be < max = 536870912
    java.lang.IllegalArgumentException: committed = 538968064 should be <
max = 536870912
    at
java.management/java.lang.management.MemoryUsage.<init>(MemoryUsage.java:166)
    at java.management/sun.management.MemoryImpl.getMemoryUsage0(Native
Method)
    at
java.management/sun.management.MemoryImpl.getHeapMemoryUsage(MemoryImpl.java:71)
    at
org.apache.geode.internal.stats50.VMStats50.refresh(VMStats50.java:624)
    at
org.apache.geode.internal.statistics.HostStatSampler.sampleSpecialStats(HostStatSampler.java:562)
    at
org.apache.geode.internal.statistics.HostStatSampler.run(HostStatSampler.java:235)
    at java.base/java.lang.Thread.run(Thread.java:834)

Thanks,
Kirk

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message