当前位置:网站首页>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)
边栏推荐
- Cocoscreator operates spine for animation fusion
- 多商戶商城系統功能拆解01講-產品架構
- Leetcode - Sword finger offer 05 Replace spaces
- PD虚拟机教程:如何在ParallelsDesktop虚拟机中设置可使用的快捷键?
- Demis Hassabis谈AlphaFold未来目标
- 今日睡眠质量记录78分
- Attribute keywords serveronly, sqlcolumnnumber, sqlcomputecode, sqlcomputed
- In the field of software engineering, we have been doing scientific research for ten years!
- 小米的芯片自研之路
- Oracle Linux 9.0 officially released
猜你喜欢
比尔·盖茨晒48年前简历:“没你们的好看”
13 ux/ui/ue best creative inspiration websites in 2022
Multi merchant mall system function disassembly lecture 01 - Product Architecture
C# 6.0 语言规范获批
Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
Novel Slot Detection: A Benchmark for Discovering Unknown Slot Types in the Dialogue System
Introduction and use of Kitti dataset
因员工将密码设为“123456”,AMD 被盗 450Gb 数据?
In the field of software engineering, we have been doing scientific research for ten years!
Data connection mode in low code platform (Part 2)
随机推荐
AWS学习笔记(三)
Navigation — 这么好用的导航框架你确定不来看看?
半小时『直播连麦搭建』动手实战,大学生技术岗位简历加分项get!
PLC: automatically correct the data set noise, wash the data set | ICLR 2021 spotlight
KITTI数据集简介与使用
CPU与chiplet技术杂谈
比尔·盖茨晒48年前简历:“没你们的好看”
【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行
拼多多败诉,砍价始终差0.9%一案宣判;微信内测同一手机号可注册两个账号功能;2022年度菲尔兹奖公布|极客头条...
小米的芯片自研之路
属性关键字ServerOnly,SqlColumnNumber,SqlComputeCode,SqlComputed
LeetCode每日一题(636. Exclusive Time of Functions)
Apache多个组件漏洞公开(CVE-2022-32533/CVE-2022-33980/CVE-2021-37839)
Ffmpeg --- image processing
LeetCode 648. Word replacement
Differences between cookies and sessions
FFmpeg----图片处理
《微信小程序-进阶篇》组件封装-Icon组件的实现(一)
Internal sort - insert sort
Oracle Linux 9.0 officially released