当前位置:网站首页>JVM family - overview, program counter day1-1
JVM family - overview, program counter day1-1
2022-07-03 13:51:00 【Concise programming】
JVM series —— summary , Program counter day1-1
JVM(Java virtual machine )
Java The running environment of binary bytecode
advantage ( characteristic )
- Write once , Run everywhere , Realize cross end
- Memory management mechanism ( Automatic garbage collection )
- Array subscript out of bounds check
- polymorphic
JVM,JRE,JDK
JVM: Running environment
JRE:JVM+Java Base class library
JDK:JVM+Java Base class library + Compiler tools
JVM Usefulness
- It is helpful to understand the underlying implementation principle
- Trend frame , The optimizer , solve the problem
common JVM
JVM Just a set of specifications 
JVM Three core parts
- ClassLoader: Class loader
- JVM Memory structure ( Method area , Pile up , Stack , Program counter , Native Method Stack )
- Execution engine ( Interpreter , Just in time compiler , Garbage collection )
Program counter
Program Counter Register Program counter (( register )
yes Java Shielding and abstraction of program hardware
Basic process of program execution
take Java The source code is compiled into binary bytecode (JVM Instructions ), After the binary bytecode passes through the interpreter, the machine code is formed , Finally let CPU perform
effect
Remember the next one JVM The execution address of the instruction , Execute in order according to the address information
If there is no program counter , Then I don't know which command to execute next
Program counters are physically dependent on registers
The register is CPU The fastest reading unit in

characteristic
- Thread private ( Each thread has its own program counter )
- There is no memory overflow
边栏推荐
- [技术发展-24]:现有物联网通信技术特点
- Screenshot of the operation steps of upload labs level 4-level 9
- MySQL installation, uninstallation, initial password setting and general commands of Linux
- JVM系列——概述,程序计数器day1-1
- Heap structure and heap sort heapify
- Using registered classes to realize specific type matching function template
- 3D视觉——2.人体姿态估计(Pose Estimation)入门——OpenPose含安装、编译、使用(单帧、实时视频)
- [556. Next larger element III]
- Flutter动态化 | Fair 2.5.0 新版本特性
- KEIL5出现中文字体乱码的解决方法
猜你喜欢

Go: send the get request and parse the return JSON (go1.16.4)

logback日志的整理
![[技術發展-24]:現有物聯網通信技術特點](/img/f3/a219fe8e7438b8974d2226b4c3d4a4.png)
[技術發展-24]:現有物聯網通信技術特點

User and group command exercises

RichView TRVStyle ListStyle 列表样式(项目符号编号)

CVPR 2022 | 美团技术团队精选6篇优秀论文解读

Complete deep neural network CNN training with tensorflow to complete picture recognition case 2

Qt学习23 布局管理器(二)

Kivy教程之 如何自动载入kv文件

物联网毕设 --(STM32f407连接云平台检测数据)
随机推荐
JS convert pseudo array to array
Complete DNN deep neural network CNN training with tensorflow to complete image recognition cases
[redis] cache warm-up, cache avalanche and cache breakdown
Static linked list (subscript of array instead of pointer)
Shell timing script, starting from 0, CSV format data is regularly imported into PostgreSQL database shell script example
怎样删除对象的某个属性或⽅法
Students who do not understand the code can also send their own token, which is easy to learn BSC
太阳底下无新事,元宇宙能否更上层楼?
Richview trvstyle liststyle list style (bullet number)
Flutter动态化 | Fair 2.5.0 新版本特性
[技術發展-24]:現有物聯網通信技術特點
挡不住了,国产芯片再度突进,部分环节已进到4nm
Multi table query of MySQL - multi table relationship and related exercises
Replace the GPU card number when pytorch loads the historical model, map_ Location settings
The reasons why there are so many programming languages in programming internal skills
The solution of Chinese font garbled code in keil5
研发团队资源成本优化实践
Golang - command line tool Cobra
The network card fails to start after the cold migration of the server hard disk
编程内功之编程语言众多的原因