brucefu
V2EX  ›  Java

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

  •  
  •   brucefu · Mar 10, 2020 · 3027 views
    This topic created in 2429 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   ·   5539 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:04 · PVG 11:04 · LAX 19:04 · JFK 22:04
    ♥ Do have faith in what you're doing.