Bug in G1 logging?

Thomas Viessmann thomas.viessmann at oracle.com
Mon Jun 15 08:52:42 UTC 2015


Sure:

CommandLine flags: -XX:+DisableExplicitGC 
-XX:+ExplicitGCInvokesConcurrent -XX:G1LogLevel=finest 
-XX:+G1SummarizeRSetStats -XX:G1Summari
zeRSetStatsPeriod=1 -XX:+G1TraceReclaimDeadHumongousObjectsAtYoungGC 
-XX:GCLogFileSize=104857600 -XX:+HeapDumpOnOutOfMemoryError -XX:Hea
pDumpPath=/icebackups/DashboardFiles/logs 
-XX:InitialHeapSize=25769803776 -XX:MaxGCPauseMillis=400 
-XX:MaxHeapSize=25769803776 -XX:MaxMe
taspaceSize=536870912 -XX:MetaspaceSize=268435456 
-XX:NumberOfGCLogFiles=10 -XX:+ParallelRefProcEnabled 
-XX:+PrintAdaptiveSizePolicy -XX
:+PrintGC -XX:+PrintGCCause -XX:+PrintGCDateStamps -XX:+PrintGCDetails 
-XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistr
ibution -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions 
-XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG
1GC -XX:+UseGCLogFileRotation

Java HotSpot(TM) 64-Bit Server VM (25.40-b25) for linux-amd64 JRE 
(1.8.0_40-b25), built on Feb 10 2015 21:29:53 by "java_re" with gcc 4.
3.0 20080428 (Red Hat 4.3.0-8)
Memory: 4k page, physical 65743256k(31795400k free), swap 
16777208k(16777208k free)




On 15/06/2015 10:50, Thomas Schatzl wrote:
> Hi,
>
> On Mon, 2015-06-15 at 10:41 +0200, Thomas Viessmann wrote:
>> Hi all,
>>
>> There is probably a bug in G1 logging in 8u40. The total of [Other:
>> 214.0 ms]
>> does not match the sum  of its sub-categories which amount to just 9.2 ms.
>> Hence at least one of these is supposedly wrong. Is this a known bug or
>> should I file a new one?
> Can you provide at least command line parameters to see if some (not
> mentioned) logging/verification/diagnostic option causes this?
>
>>     [Code Root Fixup: 0.1 ms]
>>      [Code Root Purge: 0.0 ms]
>>      [Clear CT: 2.0 ms]
>>      [Other: 214.0 ms]<<<<<<<<<<<<<<<<<<
>>         [Choose CSet: 0.0 ms]
>>         [Ref Proc: 4.9 ms]
>>         [Ref Enq: 0.3 ms]
>>         [Redirty Cards: 2.1 ms]
>>            [Parallel Redirty:  1.8  1.8  1.7  1.7  1.7  1.7 1.7  1.7
>> 1.7  1.7  1.6  1.6  1.6
>>             Min: 1.6, Avg: 1.7, Max: 1.8, Diff: 0.2, Sum: 22.1]
>>            [Redirtied Cards:  27319  24512  23040  24635 18996  28913
>> 20628  19163  17881  17664  15360  18417  16639
>>             Min: 15360, Avg: 21012.8, Max: 28913, Diff: 13553, Sum: 273167]
>>         [Humongous Reclaim: 0.0 ms]
>>            [Humongous Total: 11]
>>            [Humongous Candidate: 0]
>>            [Humongous Reclaimed: 0]
>>         [Free CSet: 1.9 ms]
>>            [Young Free CSet: 1.9 ms]
>>            [Non-Young Free CSet: 0.0 ms]
>>      [Eden: 3400.0M(3232.0M)->0.0B(848.0M) Survivors: 176.0M->376.0M
>> Heap: 12.6G(24.0G)->9673.3M(24.0G)]
> Thanks,
>    Thomas
>
>

-- 
Oracle <http://www.oracle.com>
THOMAS VIESSMANN | Senior Principal Technical Support Engineer - Java
Phone: +498914302496 <tel:+49814302496> | Mobile: +491743005467 
<tel:+491743005467>
Oracle Customer Technical Support - Java

ORACLE Deutschland B.V. & Co. KG | Riesstr.25 | D-80992 Muenchen

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 Muenchen
Registergericht: Amtsgericht Muenchen, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

------------------------------------------------------------------------
------------------------------------------------------------------------
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20150615/d22952d7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oracle_sig_logo.gif
Type: image/gif
Size: 658 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20150615/d22952d7/oracle_sig_logo-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: green-for-email-sig_0.gif
Type: image/gif
Size: 356 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20150615/d22952d7/green-for-email-sig_0-0001.gif>


More information about the hotspot-gc-dev mailing list