当前位置:网站首页>Interview summary of large factory Daquan II
Interview summary of large factory Daquan II
2022-07-04 18:10:00 【[email protected]】
1、java virtual machine jvm Class loading mechanism of
The whole process of class loading :
load --> link ( verification -> Get ready -> analysis )–> initialization
Loading phase :
1. Load the binary byte stream of the class into the method area through the fully qualified class name of the class ( Class variables ).
Link phase :
1.( verification ) Verify whether the information contained in the virtual machine byte stream meets the requirements of the current virtual machine .
2.( Get ready ) Set the default initial value for class variables ,final Decorated memory will be allocated during compilation , Explicit initialization in the preparation phase , And instance variables are assigned to java In the pile .
3.( analysis ) The process of converting a symbolic reference in a constant pool to a direct reference ; Analysis is in jvm Execute initialization before executing .
Initialization phase :
1. The process of performing class constructor methods ,jvm Execute subclass constructor , Make sure that the parent constructor has been executed ,jvm Ensure that the constructor of a class is locked synchronously in the case of multithreading ; After the execution, the loading of the class is completed .
版权声明
本文为[[email protected] slightly fat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041610424199.html
边栏推荐
- 中断的顶半部和底半部介绍以及实现方式(tasklet 和 工作队列)
- 估值900亿,超级芯片IPO来了
- 【华为HCIA持续更新】SDN与FVC
- Solve the El input input box For number number input problem, this method can also be used to replace the problem of removing the arrow after type= "number"
- [test development] software testing - Basics
- 【Hot100】32. 最长有效括号
- shell脚本的替换功能实现
- 数学分析_笔记_第7章:多元函数的微分学
- Flask lightweight web framework
- "In Vietnam, money is like lying on the street"
猜你喜欢
[unity ugui] scrollrect dynamically scales the grid size and automatically locates the middle grid
表情包坑惨职场人
I wrote a learning and practice tutorial for beginners!
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
mysql5.7安装教程图文详解
Wuzhicms code audit
Tutorial on the use of Huawei cloud modelarts (with detailed illustrations)
Zhijieyun - meta universe comprehensive solution service provider
Rainfall warning broadcast automatic data platform bwii broadcast warning monitor
The controversial line of energy replenishment: will fast charging lead to reunification?
随机推荐
Master the use of auto analyze in data warehouse
I2C子系统之适配器的设备接口分析(i2c-dev.c文件分析)
Ks007 realizes personal blog system based on JSP
[daily question] 556 Next bigger element III
android使用SQLiteOpenHelper闪退
【系统盘转回U盘】记录系统盘转回U盘的操作
ISO27001 certification process and 2022 subsidy policy summary
为啥有些线上演唱会总是怪怪的?
俄罗斯 Arenadata 发布基于PostgreSQL的产品
一直以为做报表只能用EXCEL和PPT,直到我看到了这套模板(附模板)
New technology releases a small program UNIPRO to meet customers' mobile office scenarios
上市公司改名,科学还是玄学?
【Proteus仿真】基于VSM 串口printf调试输出示例
大规模服务异常日志检索
通过事件绑定实现动画效果
78岁华科教授冲击IPO,丰年资本有望斩获数十倍回报
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
ARTS_20220628
[system analyst's road] Chapter 7 double disk system design (structured development method)
DB-Engines 2022年7月数据库排行榜:Microsoft SQL Server 大涨,Oracle 大跌