brucefu
V2EX  ›  Java

[请教] 有什么方法可以输出 JVM 元空间 的信息吗?

  •  
  •   brucefu · Mar 10, 2020 · 3079 views
    This topic created in 2451 days ago, the information mentioned may be changed or developed.

    -XX:+PrintHeapAtGC 可以打印 GC 前后的详细堆栈信息 我的系统因为元空间满而引发 full GC,想看看元空间都有什么 Class,导致的 full GC

    1 replies  •  2020-03-10 18:37:48 +08:00
    Macolor21
    Macolor21
    Mar 10, 2020 via iPhone
    1
    试试 -XX:+PrintGCDetails
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4662 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:17 · PVG 14:17 · LAX 22:17 · JFK 01:17
    ♥ Do have faith in what you're doing.