当前位置:网站首页>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)
边栏推荐
- PAG体验:十分钟完成AE动效部署上线各平台!
- Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
- Ascend 910实现Tensorflow1.15实现LeNet网络的minist手写数字识别
- Simple use of websocket
- JS in the browser Base64, URL, blob mutual conversion
- Navigation - are you sure you want to take a look at such an easy-to-use navigation framework?
- Es log error appreciation -trying to create too many buckets
- Deformable convolutional dense network for enhancing compressed video quality
- CVPR2022 | 医学图像分析中基于频率注入的后门攻击
- WebRTC 音频抗弱网技术(上)
猜你喜欢
Because the employee set the password to "123456", amd stolen 450gb data?
MicTR01 Tester 振弦采集模塊開發套件使用說明
Instructions for mictr01 tester vibrating string acquisition module development kit
JSON解析实例(Qt含源码)
[today in history] July 7: release of C; Chrome OS came out; "Legend of swordsman" issued
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
Jetson AGX Orin CANFD 使用
GAN发明者Ian Goodfellow正式加入DeepMind,任Research Scientist
Apache多个组件漏洞公开(CVE-2022-32533/CVE-2022-33980/CVE-2021-37839)
13 ux/ui/ue best creative inspiration websites in 2022
随机推荐
EMQX 5.0 发布:单集群支持 1 亿 MQTT 连接的开源物联网消息服务器
Base64 encoding
今日睡眠质量记录78分
Substance Painter笔记:多显示器且多分辨率显示器时的设置
WebRTC 音频抗弱网技术(上)
Shengteng experience officer Episode 5 notes I
找到自己的价值
Navigation — 这么好用的导航框架你确定不来看看?
15、文本编辑工具VIM使用
Leetcode——236. The nearest common ancestor of binary tree
缓冲区溢出保护
云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
Internal sort - insert sort
What is cloud primordial? This time, I can finally understand!
属性关键字ServerOnly,SqlColumnNumber,SqlComputeCode,SqlComputed
Instructions d'utilisation de la trousse de développement du module d'acquisition d'accord du testeur mictr01
Data connection mode in low code platform (Part 2)
JS in the browser Base64, URL, blob mutual conversion
Ascend 910实现Tensorflow1.15实现LeNet网络的minist手写数字识别
Simple steps for modifying IP of sigang electronic scale