V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
brucefu
V2EX  ›  Java

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

  •  
  •   brucefu · Mar 10, 2020 · 2668 views
    This topic created in 2252 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
        1
    Macolor21  
       Mar 10, 2020 via iPhone
    试试 -XX:+PrintGCDetails
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3151 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:37 · PVG 22:37 · LAX 07:37 · JFK 10:37
    ♥ Do have faith in what you're doing.