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)

    }

  • 相关阅读:
    性能测试流程
    性能测试关注的指标
    什么样的系统需要做性能测试
    python数据类型-列表
    python-数据类型-元组
    python自动化第二课
    python自动化第二课
    内存泄漏和内存溢出
    程序中必须知道的几种命名规范
    超级详细安装jmeter的教程(亲测)
  • 原文地址:https://www.cnblogs.com/feiyun126/p/5473087.html
Copyright © 2011-2022 走看看