Skip to content

Full GC收集的是整个堆区和方法区 #789

Closed

Description

@hulu888

对于该处的问题有确定的答案
截屏2020-05-20 下午10 17 57

full gc收集的是整个堆区和方法区
截屏2020-05-20 下午10 11 18
出自《深入理解Java虚拟机:JVM高级特性与最佳实践》(第三版)

Activity

  1. LiWenGu commented on May 21, 2020

    @LiWenGu
    Contributor

    文档描述有误,知乎原文的分歧在于:Major GC 的语义问题。
    但是针对 Full GC 是一致的:收集整个堆+元空间(1.8)


    你看书里对于 Major GC 描述也说有分歧,需要读者按上下文才能区分具体是什么回收。

  2. added
    doc-bug
    discuss
    enhancement
    on May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussdoc-bugenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions