当前位置:网站首页>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
边栏推荐
- Brief analysis of tensorboard visual processing cases
- Kivy tutorial how to automatically load kV files
- SQL Injection (POST/Select)
- Complete DNN deep neural network CNN training with tensorflow to complete image recognition cases
- Go 1.16.4: manage third-party libraries with Mod
- Conversion function and explicit
- 使用vscode查看Hex或UTF-8编码
- [bw16 application] instructions for firmware burning of Anxin Ke bw16 module and development board update
- Libuv Library - Design Overview (Chinese version)
- The network card fails to start after the cold migration of the server hard disk
猜你喜欢
使用Tensorflow进行完整的深度神经网络CNN训练完成图片识别案例2
又一个行业被中国芯片打破空白,难怪美国模拟芯片龙头降价抛售了
8 Queen question
Qt学习24 布局管理器(三)
Go language web development series 27: Gin framework: using gin swagger to implement interface documents
【电脑插入U盘或者内存卡显示无法格式化FAT32如何解决】
MySQL functions and related cases and exercises
Use docker to build sqli lab environment and upload labs environment, and the operation steps are provided with screenshots.
Mycms we media mall v3.4.1 release, user manual update
Go language web development series 30: gin: grouping by version for routing
随机推荐
Universal dividend source code, supports the dividend of any B on the BSC
There is nothing new under the sun. Can the meta universe go higher?
Students who do not understand the code can also send their own token, which is easy to learn BSC
刚毕业的欧洲大学生,就能拿到美国互联网大厂 Offer?
常见的几种最优化方法Matlab原理和深度分析
Comprehensively develop the main channel of digital economy and digital group, and actively promote the utonmos digital Tibet market
挡不住了,国产芯片再度突进,部分环节已进到4nm
Another industry has been broken by Chinese chips. No wonder the leading analog chip companies in the United States have cut prices and sold off
[sort] bucket sort
Flutter动态化 | Fair 2.5.0 新版本特性
Comprehensive evaluation of double chain notes remnote: fast input, PDF reading, interval repetition / memory
Multi table query of MySQL - multi table relationship and related exercises
GoLand 2021.1.1: configure the multi line display of the tab of the open file
Logback log sorting
[redis] cache warm-up, cache avalanche and cache breakdown
Shell timing script, starting from 0, CSV format data is regularly imported into PostgreSQL database shell script example
JSON serialization case summary
编程内功之编程语言众多的原因
When updating mysql, the condition is a query
解决MySql 1045 Access denied for user ‘root‘@‘localhost‘ (using password: YES)