GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — JVM垃圾回收一节中晋升年龄问题 · Issue #672 · Snailclimb/JavaGuide

JVM垃圾回收一节中晋升年龄问题 #672

New issue
Copy link
New issue
Copy link
Closed
Closed
JVM垃圾回收一节中晋升年龄问题#672
Copy link
Labels
awesomeenhancementNew feature or request or suggestion

Description

@LoenDou
LoenDou
opened on Mar 5, 2020
Issue body actions

关于默认的晋升年龄是15,这个说法的来源大部分都是《深入理解Java虚拟机》这本书。
如果你去Oracle的官网阅读相关的虚拟机参数,你会发现在-XX:MaxTenuringThreshold=threshold这里有个说明,Sets the maximum tenuring threshold for use in adaptive GC sizing. The largest value is 15. The default value is 15 for the parallel (throughput) collector, and 6 for the CMS collector.
默认晋升年龄并不都是15,这个是要区分垃圾收集器的,CMS就是6.

Reacted by hnpyhyz, sid, Carlos, upc-gsl and ShiraishiMa1
Reacted by sid
Reacted by sid
Reacted by sid
Reacted by sid

Activity

  1. Snailclimb commented on Mar 6, 2020

    @Snailclimb
    Snailclimb
    on Mar 6, 2020
    Owner
    More actions

    嗯嗯 感谢老哥!这部分大家确实都是参考《深入理解Java虚拟机》这本书的!

    已经更新:

    Screen Shot 2020-03-06 at 8 51 33 AM

  2. Snailclimb
    added
    awesome
    enhancementNew feature or request or suggestion
    on Mar 6, 2020
  3. Snailclimb
    closed this as completedon Mar 6, 2020
  4. ambition0802 commented on Dec 24, 2020

    @ambition0802
    ambition0802
    on Dec 24, 2020
    Contributor
    More actions

    太细节了,这位大兄弟,点赞。

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

    awesomeenhancementNew feature or request or suggestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.