性能问答>PrintGCDetails相关问题>
1回复
1年前

PrintGCDetails相关问题



环境:ubuntu14.10 + jdk8

参数设置:

-verbose:gc -Xms20M -Xmx20m -Xmn10M -XX:SurvivorRatio=8  -XX:+PrintGCDetails

GC日志:

Heap
 PSYoungGen      total 9216K, used 2480K [0x00000000ff600000, 0x0000000100000000, 0x0000000100000000)
  eden space 8192K, 30% used [0x00000000ff600000,0x00000000ff86c050,0x00000000ffe00000)
  from space 1024K, 0% used [0x00000000fff00000,0x00000000fff00000,0x0000000100000000)
  to   space 1024K, 0% used [0x00000000ffe00000,0x00000000ffe00000,0x00000000fff00000)
 ParOldGen       total 10240K, used 0K [0x00000000fec00000, 0x00000000ff600000, 0x00000000ff600000)
  object space 10240K, 0% used [0x00000000fec00000,0x00000000fec00000,0x00000000ff600000)
 Metaspace       used 3522K, capacity 4588K, committed 4864K, reserved 1056768K
  class space    used 386K, capacity 433K, committed 512K, reserved 1048576K

为什么会used 2480K呢?

2539 阅读
请先登录,查看1条精彩评论吧
快去登录吧,你将获得
  • 浏览更多精彩评论
  • 和开发者讨论交流,共同进步