GC Log Example: Parallel Garbage Collector

Java HotSpot(TM) 64-Bit Server VM (25.144-b01) for bsd-amd64 JRE (1.8.0_144-b01), built on Jul 21 2017 22:07:42 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Memory: 4k page, physical 16777216k(783424k free)

/proc/meminfo:

CommandLine flags: -XX:InitialHeapSize=10485760 -XX:MaxHeapSize=10485760 -XX:MaxNewSize=5242880 -XX:NewSize=5242880 -XX:+PrintFlagsFinal -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC -XX:+UseParallelOldGC
20.189: [GC (Allocation Failure) [ PS YoungGen: 3948K->496K(4608K)] 3948K->3576K(9728K), 0.0025454 secs] [Times: user=0.01 sys=0.01, real=0.00 secs]
20.192: [Full GC (Ergonomics) [PSYoungGen: 496K->0K(4608K)] [ Par OldGen: 3080K->3410K(5120K)] 3576K->3410K(9728K), [Metaspace: 2724K->2724K(1056768K)], 0.0051866 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
35.201: [Full GC (Ergonomics) [PSYoungGen: 3151K->2048K(4608K)] [ParOldGen: 3410K->4423K(5120K)] 6561K->6471K(9728K), [Metaspace: 2724K->2724K(1056768K)], 0.0059534 secs] [Times: user=0.03 sys=0.01, real=0.01 secs]
40.212: [Full GC (Ergonomics) [PSYoungGen: 3153K->3072K(4608K)] [ParOldGen: 4423K->4423K(5120K)] 7577K->7495K(9728K), [Metaspace: 2724K->2724K(1056768K)], 0.0061262 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
40.218: [Full GC (Allocation Failure) [PSYoungGen: 3072K->3072K(4608K)] [ParOldGen: 4423K->4423K(5120K)] 7495K->7495K(9728K), [Metaspace: 2724K->2724K(1056768K)], 0.0018256 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
Heap
 PSYoungGen      total 4608K, used 3224K [0x00000007bfb00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 4096K, 78% used [0x00000007bfb00000,0x00000007bfe26240,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 5120K, used 4423K [0x00000007bf600000, 0x00000007bfb00000, 0x00000007bfb00000)
  object space 5120K, 86% used [0x00000007bf600000,0x00000007bfa51cb8,0x00000007bfb00000)
 Metaspace       used 2756K, capacity 4486K, committed 4864K, reserved 1056768K
  class space    used 297K, capacity 386K, committed 512K, reserved 1048576K

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325493250&siteId=291194637