Hi all,

I currently found a "allocated < usage" problem in the G1 log as follows.

   [Eden: 342.0M(3296.0M)->0.0B(3890.0M) Survivors: 1024.0K->1024.0K Heap:
 [Times: user=0.03 sys=0.00, real=0.02 secs]

This log reveals that
(1) The allocated space of "Old+Humongous" is (5541.2 - 342) = 5199.2MB
before GC.
(2) The usage of "Old+Humongous" is (6655 - 3296)=3359MB before GC.
(3) The usage of "Old+Humongous" > the allocated space of "Old+Humongous"

There may be a bug in the GC statistics profiler.

My JDK version is
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
hotspot-gc-use mailing list

Reply via email to