当前位置:网站首页>GC垃圾回收器详解
GC垃圾回收器详解
2022-07-28 17:06:00 【一梦无痕bzy】
一、GC演进

垃圾回收器的发展路线是随着内存越来越大而演进的。从分代算法演进到不分代算法(jvm调优参数越来越少)。上图虚线部分是老年代和新生代可以配合使用的
各个垃圾回收器清理内存的大小

目前jdk1.8默认用的就是ps+po(parallelGC),所谓的jvm调优绝大多数就是对ps+po调优(当然可以选择更换为其它的垃圾回收器)。serial和serial old、parnew和cms也比较常用

1、serial
单线程垃圾回收器,只用一个gc线程去回收。当它开始工作的时候所有其余线程全部停止,包括我们自己定义的线程。所以用stop the world(stw)来形容。工作在新生代
2、serial old
和上面一样,只是工作在老年代
3、parallel scaveng
边栏推荐
- .net WCF wf4.5 state machine, bookmark and persistence
- Introduction to the principle of signal source
- Modifier modifier modifier of solidity _;
- MongoDB数据库shell命令执行
- MYSQL入门与进阶(一)
- MYSQL入门与进阶(七)
- 腾讯汤道生:开源是产业互联网时代新的生产方式和协作模式
- How to see the future development of software testing?
- DC-DC switching power supply
- VSC writes go, expected 'package' appears, found 'EOF‘
猜你喜欢

insight! Baidu pushed redis ceiling notes, which was originally understood by the database

Brief introduction to the principle of spectrometer I

SQL Server stuff and for XML path

mysql 索引使用与优化

直播|StarRocks 技术内幕 :低基数全局字典优化

DC simulation example of ADS simulation

Go并发详解之一

1.3、链表

Noise of creative coding

Docker builds MySQL master-slave replication
随机推荐
Shenzhen offline registration starrocks on AWS: how to conduct rapid unified analysis of real-time data warehouses
Go exe generates icon version information
MYSQL入门与进阶(六)
Summer Challenge [FFH] JS custom component: DIY a keyboard that can be used at any time! (I)
Calibration of vector network analyzer (vector network)
LeetCode_343_整数拆分
GO exe生成图标版本信息
Digital torrent: resource reorganization and strategic conflict in enterprise transformation
What are the conditions for zero foundation learning software testing?
Brief introduction to the principle of spectrometer I
高德地图实现自定义小蓝点 自定义点标记 绘制多边形/圆形区域 根据地图的移动显示或者隐藏自定义点标记的相关实现
Multithreading and high concurrency -- source code analysis AQS principle
Principle, classification and requirements of antenna
Introduction and advanced level of MySQL (8)
UE5 GAS 学习笔记 1.10 预测(Prediction)
Experimental building - PHP Dafa
What is the employment prospect of software testing?
PyQt5快速开发与实战 5.3 多线程
Introduction to main parameters of antenna
Docker builds MySQL master-slave replication