xjtushilei
V2EX  ›  Java

年带代 gc 比 full gc 慢???

  •  
  •   xjtushilei · Mar 30, 2018 · 3445 views
    This topic created in 2985 days ago, the information mentioned may be changed or developed.

    ygct 1.551 秒。fgct0.283 秒。

    还有我总共占用了 187M 内存(内嵌 tomcat )。为什么 gc 这么耗时??? 1.8 秒总 gc 时间跟网上看的其他人的差距好大?

    4 replies    2018-03-30 15:29:14 +08:00
    micean
        1
    micean  
       Mar 30, 2018
    这个是统计时间,不是单次时间,请除以 xGC 得到平均时间
    xiaoyifang
        2
    xiaoyifang  
       Mar 30, 2018
    YGCT/YGC FGCT/FGC
    xjtushilei
        3
    xjtushilei  
    OP
       Mar 30, 2018
    @micean soga
    !!明白了
    xjtushilei
        4
    xjtushilei  
    OP
       Mar 30, 2018
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5901 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 02:45 · PVG 10:45 · LAX 19:45 · JFK 22:45
    ♥ Do have faith in what you're doing.