zoukankan      html  css  js  c++  java
  • -XX:+PrintHeapAtGC 每次一次GC后,都打印堆信息

    -XX:+PrintHeapAtGC
    每次一次GC后,都打印堆信息

    {Heap before GC invocations=0 (full 0):

     def new generation   total 3072K, used 2752K [0x33c80000, 0x33fd0000, 0x33fd0000)

      eden space 2752K, 100% used [0x33c80000, 0x33f30000, 0x33f30000)

      from space 320K,   0% used [0x33f30000, 0x33f30000, 0x33f80000)

      to   space 320K,   0% used [0x33f80000, 0x33f80000, 0x33fd0000)

     tenured generation   total 6848K, used 0K [0x33fd0000, 0x34680000, 0x34680000)

       the space 6848K,   0% used [0x33fd0000, 0x33fd0000, 0x33fd0200, 0x34680000)

     compacting perm gen  total 12288K, used 143K [0x34680000, 0x35280000, 0x38680000)

       the space 12288K,   1% used [0x34680000, 0x346a3c58, 0x346a3e00, 0x35280000)

        ro space 10240K,  44% used [0x38680000, 0x38af73f0, 0x38af7400, 0x39080000)

        rw space 12288K,  52% used [0x39080000, 0x396cdd28, 0x396cde00, 0x39c80000)

    [GC[DefNew: 2752K->320K(3072K), 0.0014296 secs] 2752K->377K(9920K), 0.0014604 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]

    Heap after GC invocations=1 (full 0):

     def new generation   total 3072K, used 320K [0x33c80000, 0x33fd0000, 0x33fd0000)

      eden space 2752K,   0% used [0x33c80000, 0x33c80000, 0x33f30000)

      from space 320K, 100% used [0x33f80000, 0x33fd0000, 0x33fd0000)

      to   space 320K,   0% used [0x33f30000, 0x33f30000, 0x33f80000)

     tenured generation   total 6848K, used 57K [0x33fd0000, 0x34680000, 0x34680000)

       the space 6848K,   0% used [0x33fd0000, 0x33fde458, 0x33fde600, 0x34680000)

     compacting perm gen  total 12288K, used 143K [0x34680000, 0x35280000, 0x38680000)

       the space 12288K,   1% used [0x34680000, 0x346a3c58, 0x346a3e00, 0x35280000)

        ro space 10240K,  44% used [0x38680000, 0x38af73f0, 0x38af7400, 0x39080000)

        rw space 12288K,  52% used [0x39080000, 0x396cdd28, 0x396cde00, 0x39c80000)

    }

  • 相关阅读:
    获取网页可视区域的宽高,不包括工具栏和滚动条(浏览器窗口可视区域大小)
    display:inline-block 来解决盒子高度不一样,造成的盒子浮动
    Jquery UI 中的datepicker() ,获取日期后的回调函数onClose()
    删除url搜索带的参数
    判断表单是否需要校验时可以按照类似逻辑去处理
    去除url中锚点的方法
    js常面试基础题
    vue项目总结
    vue-router
    回流与重绘
  • 原文地址:https://www.cnblogs.com/feiyun126/p/5473087.html
Copyright © 2011-2022 走看看