当前位置:网站首页>What is the process of ⼀ objects from loading into JVM to being cleared by GC?
What is the process of ⼀ objects from loading into JVM to being cleared by GC?
2022-07-07 14:50:00 【51CTO】
- Object application space
- Judge Eden Whether the area has allocable object space , If Eden Area assignable , Allocate space directly
- If space is insufficient, proceed YGC, in the light of YGC Objects that survive ,YGC The operation details are as follows :
- Judge Survivor Whether the area can allocate space , Distributable , From from To to District (S0/S1 Switch back and forth ), threshold + 1
- Survivor Zone is not assignable , Then directly promoted to the elderly generation
- Judge Survivor Whether the threshold of the zone object is greater than 15, If it is larger than, it will be promoted to the elderly , Otherwise, from from To to District , threshold + 1
- YGC Then judge Eden Whether the area has allocable object space , If yes, allocate space directly , Otherwise, judge whether the elderly area can allocate space
- Elderly areas can be allocated , Then the application object space , If not, proceed FGC
- Then judge whether the elderly area can be allocated , Distributable , Then the application object space , If it cannot be allocated, an error will be reported OOM(Out Of Memory)
边栏推荐
- 找到自己的价值
- Five pain points for big companies to open source
- Excuse me, does PTS have a good plan for database pressure measurement?
- Zhiting doesn't use home assistant to connect Xiaomi smart home to homekit
- Substance Painter笔记:多显示器且多分辨率显示器时的设置
- CPU与chiplet技术杂谈
- 潘多拉 IOT 开发板学习(HAL 库)—— 实验12 RTC实时时钟实验(学习笔记)
- 13 ux/ui/ue best creative inspiration websites in 2022
- Es log error appreciation -- allow delete
- 一款你不容错过的Laravel后台管理扩展包 —— Voyager
猜你喜欢
Cocoscreator operates spine for animation fusion
Substance Painter笔记:多显示器且多分辨率显示器时的设置
⼀个对象从加载到JVM,再到被GC清除,都经历了什么过程?
GAN发明者Ian Goodfellow正式加入DeepMind,任Research Scientist
防火墙基础之服务器区的防护策略
Spatiotemporal deformable convolution for compressed video quality enhancement (STDF)
Pytorch model trains practical skills and breaks through the bottleneck of speed
Internal sort - insert sort
安恒堡垒机如何启用Radius双因素/双因子(2FA)身份认证
潘多拉 IOT 开发板学习(HAL 库)—— 实验12 RTC实时时钟实验(学习笔记)
随机推荐
Wechat applet - Advanced chapter component packaging - Implementation of icon component (I)
时空可变形卷积用于压缩视频质量增强(STDF)
2022年13个UX/UI/UE最佳创意灵感网站
word中删除一整页
Base64 encoding
Small game design framework
CVPR2022 | 医学图像分析中基于频率注入的后门攻击
Simple steps for modifying IP of sigang electronic scale
Ian Goodfellow, the inventor of Gan, officially joined deepmind as research scientist
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
EMQX 5.0 发布:单集群支持 1 亿 MQTT 连接的开源物联网消息服务器
潘多拉 IOT 开发板学习(HAL 库)—— 实验12 RTC实时时钟实验(学习笔记)
回归测试的分类
Es log error appreciation -trying to create too many buckets
ES日志报错赏析-- allow delete
安恒堡垒机如何启用Radius双因素/双因子(2FA)身份认证
EfficientNet模型的完整细节
PLC:自动纠正数据集噪声,来洗洗数据集吧 | ICLR 2021 Spotlight
Data Lake (IX): Iceberg features and data types
Cocoscreator operates spine for animation fusion