"Allocated < Usage" problem in G1 log
Lijie Xu
csxulijie at gmail.com
Fri Apr 13 02:49:18 UTC 2018
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:
5541.2M(6655.0M)->1886.0M(6655.0M)]
[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"
(Wrong)
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20180413/8bb8efda/attachment.html>
More information about the hotspot-gc-use
mailing list