当前位置:网站首页>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)
边栏推荐
- Leetcode——236. The nearest common ancestor of binary tree
- Applet directory structure
- 内部排序——插入排序
- Webrtc audio anti weak network technology (Part 1)
- Novel Slot Detection: A Benchmark for Discovering Unknown Slot Types in the Dialogue System
- AWS learning notes (III)
- 6、Electron无边框窗口和透明窗口 锁定模式 设置窗口图标
- leetcode:648. 单词替换【字典树板子 + 寻找若干前缀中的最短符合前缀】
- Leetcode - Sword finger offer 05 Replace spaces
- Demis Hassabis谈AlphaFold未来目标
猜你喜欢
GAN发明者Ian Goodfellow正式加入DeepMind,任Research Scientist
⼀个对象从加载到JVM,再到被GC清除,都经历了什么过程?
Cvpr2022 | backdoor attack based on frequency injection in medical image analysis
Instructions d'utilisation de la trousse de développement du module d'acquisition d'accord du testeur mictr01
《微信小程序-进阶篇》组件封装-Icon组件的实现(一)
时空可变形卷积用于压缩视频质量增强(STDF)
Novel Slot Detection: A Benchmark for Discovering Unknown Slot Types in the Dialogue System
大厂做开源的五大痛点
STM32CubeMX,68套组件,遵循10条开源协议
安恒堡垒机如何启用Radius双因素/双因子(2FA)身份认证
随机推荐
属性关键字ServerOnly,SqlColumnNumber,SqlComputeCode,SqlComputed
Equipment failure prediction machine failure early warning mechanical equipment vibration monitoring machine failure early warning CNC vibration wireless monitoring equipment abnormal early warning
Mrs offline data analysis: process OBS data through Flink job
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
昇腾体验官第五期随手记I
Data connection mode in low code platform (Part 2)
PD virtual machine tutorial: how to set the available shortcut keys in the parallelsdesktop virtual machine?
Cocoscreator operates spine for animation fusion
Multi merchant mall system function disassembly lecture 01 - Product Architecture
Wechat applet - Advanced chapter component packaging - Implementation of icon component (I)
OAuth 2.0 + JWT protect API security
Es log error appreciation -trying to create too many buckets
Instructions for mictr01 tester vibrating string acquisition module development kit
JSON解析实例(Qt含源码)
PAG experience: complete AE dynamic deployment and launch all platforms in ten minutes!
Mlgo: Google AI releases industrial compiler optimized machine learning framework
【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行
The method of parsing PHP to jump out of the loop and the difference between continue, break and exit
KITTI数据集简介与使用
什么是云原生?这回终于能搞明白了!