zoukankan      html  css  js  c++  java
  • java收集器与垃圾分代之间的关系

    新生代收集器:Serial、ParNew、Parallel scavenge; ·新生代收集器:系列、ParNew、并行清除;
    老年代收集器:Serial old、Paralle1 old、CMS; ·老年代收集器:Serial old、Paralle1 old、CMS;
    整堆收集器:G1: 整堆收集器:G1:

    1.两个收集器间有连线,表明它们可以搭配使用:
      Serial/Serial old、Seria1/CMS、ParNew/Serial old、ParNew/CMS.
      Parallel Scavenge/Serial old、Parallel Scavenge/Parallel old、G1;
    2.其中serial old作为CMS出现"Concurrent ode Failure"失败的后备预案。
    3.(红色虚线)由于维护和兼容性测试的成本,在3DK 8时将Serial+CMS、
      ParNew+Serial old这两个组合声明为废弃(EP 173),并在DK 9中完全取消了这些组合的支持(EP214),即:移除。
    4.     (绿色虚线)JDK 14中:弃用Parallel Scavenge和Serial0ld Gc组合(JEP366)
    s.   (青色虚线)JDK 14中:删除CMS垃圾回收器(EP 363)

  • 相关阅读:
    ORACLE常用SQL优化hint语句
    TestNG 入门教程
    博客迁移
    WebMvcConfigurer
    Nginx 配置
    SpringBoot部署
    MyBatis 动态 SQL
    Spring Boot 验证表单
    Spring Boot session与cookie的使用
    Spirng MVC 重定向传递对象
  • 原文地址:https://www.cnblogs.com/zyf-yxm/p/13726425.html
Copyright © 2011-2022 走看看