当前位置:网站首页>The only storage area in the JVM where GC and oom will not occur
The only storage area in the JVM where GC and oom will not occur
2022-04-22 07:24:00 【Small tomatoes that don't grow fat】
PC register
JVM Medium PC Registers are for physics PC An abstract simulation of registers . Used to store the address pointing to the next instruction , It is also the instruction code to be executed . The execution engine reads the next instruction .
Very small memory footprint , The fastest . Thread private .
The only one who didn't OOM Region .
1.PC Why are registers set to thread private ?
cpu I'll keep switching tasks , This will inevitably lead to frequent interruption and recovery . In order to accurately record the current bytecode instruction address that each thread is executing , So each thread is assigned a PC register .
2. Use PC What's the use of register storage bytecode to specify address ?
CPU You need to keep switching threads , After switching back , Need to know where to proceed .
3. Why use PC Register records the execution address of the current thread ?
JVM Bytecode interpreter needs to be changed PC Register to determine what kind of bytecode instruction should be executed next .
版权声明
本文为[Small tomatoes that don't grow fat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220612066154.html
边栏推荐
- Installer et modifier les chemins d'installation des plug - ins utools et vscode
- Quotient principle of modular division
- Define an abstract role class with name, age, gender, hobbies and other member variables. It is required to hide all variables as far as possible (private if possible), and then read and write each va
- Find a notepad file by yourself, find the data material by yourself, and count the times of three keywords or sentence entries in the whole text.
- Leetcode punch in
- 面试官常问的,对象分配的一般过程及特殊情况
- 14行代码完成任意选择图片爬取
- Leetcode punch in
- 顺序表 增删查(找)
- 详解树状数组模板——理论和代码的实现
猜你喜欢

Beyond Compare“授权密钥已被吊销”的解决办法

C语言 | 快速排序

定义一个抽象的Role类有姓名年龄性别爱好等成员变量要求尽可能隐藏所有变量(能够私有就私有)再通过Get()和Set()方法对各变量进行读写,其中龄必须在0到150岁性别必须是男或者女姓名必须是2个字
![ERROR: [Hsi 55-1545] ,无法正常生成fsbl,Unable to read in MSS file,Failed to closesw system.mss](/img/4e/34e2820ff8579007b20b33b27d8f1d.png)
ERROR: [Hsi 55-1545] ,无法正常生成fsbl,Unable to read in MSS file,Failed to closesw system.mss

桥接模式下主机ping不通虚拟机

. net learning notes (I) -- introduction, advantages, design ideas, principles and applications of generics

Some mechanisms of synchronized lock optimization (lock upgrade)

Format control of format() method

Pixhawk4+Up Board / NUC Implement VIO By Deploying T265

搭建ES6开发环境,实时编译
随机推荐
14行代码完成任意选择图片爬取
Installer et modifier les chemins d'installation des plug - ins utools et vscode
【数论】同余(一):同余的基本概念与性质
C语言 | 数组
JVM中的逃逸分析,可以实现不在堆上分配内存
提示用户输入其名字 用户作出响应后 将其名字写 入到文件guest.txt 中 程序判断当不等于n的时候,就执行 创建文件data.txt,文件共10万行,每行存放一个1~100之间的随机一个整数
sql server快速入门
ASP. Net daily development notes ----- IIS server supports downloading APK
定义一个抽象的Role类有姓名年龄性别爱好等成员变量要求尽可能隐藏所有变量(能够私有就私有)再通过Get()和Set()方法对各变量进行读写,其中龄必须在0到150岁性别必须是男或者女姓名必须是2个字
Pixhawk4+Up Board / NUC Implement VIO By Deploying T265
SQL server stored procedure development notes - piecemeal problems and operations on operation files
[number theory] congruence (III): univariate linear congruence equation
[jeecg] modify VISER chart color style
写一个方法sanjiao(a, b, c),判断三个参数是否能构成一个三角形,如果不能则抛出异常IllegalArgumentException,显示异常信息a,b,c”不能构成三角形”,如果可以
SecureCRT infinite loop script
定义一个学生Student类1 获取学生的姓名:get_name() 返回类型:str 2 获取学生的年龄:get_age() 返回类型:int 3 返回3门科目中最高的分数。get_course()
美团春招暑期实习笔试——20220312
【数论】同余(七):快速幂、矩阵快速幂
(6) DCL and DML syntax of SQL Server
单例池、单例Bean、单例模式