GC Log举例:并行垃圾收集器

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) [ PSYoungGen: 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)] [ ParOldGen: 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值