当前位置:网站首页>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
边栏推荐
- JS 将伪数组转换成数组
- Stack application (balancer)
- Open PHP error prompt under Ubuntu 14.04
- 掌握Cypress命令行选项,是真正掌握Cypress的基础
- 又一个行业被中国芯片打破空白,难怪美国模拟芯片龙头降价抛售了
- Unity Render Streaming通过Js与Unity自定义通讯
- Windos creates Cordova prompt because running scripts is prohibited on this system
- 【556. 下一个更大元素 III】
- 使用Tensorflow进行完整的深度神经网络CNN训练完成图片识别案例2
- Go language web development series 29: Gin framework uses gin contrib / sessions library to manage sessions (based on cookies)
猜你喜欢

logback日志的整理

又一个行业被中国芯片打破空白,难怪美国模拟芯片龙头降价抛售了

TensorBoard可视化处理案例简析
![[sort] bucket sort](/img/52/95514b5a70cea75821883e016d8adf.jpg)
[sort] bucket sort

Can newly graduated European college students get an offer from a major Internet company in the United States?

Logback log sorting

NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon

Multi table query of MySQL - multi table relationship and related exercises

There is nothing new under the sun. Can the meta universe go higher?

Internet of things completion -- (stm32f407 connects to cloud platform detection data)
随机推荐
JS convert pseudo array to array
AI 考高数得分 81,网友:AI 模型也免不了“内卷”!
Mysql:insert date:SQL 错误 [1292] [22001]: Data truncation: Incorrect date value:
Summary of common error reporting problems and positioning methods of thrift
Go 1.16.4: purpose of go mod tidy
CVPR 2022 | 美团技术团队精选6篇优秀论文解读
全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场
SQL Injection (GET/Search)
HALCON联合C#检测表面缺陷——HALCON例程autobahn
Golang — 命令行工具cobra
研发团队资源成本优化实践
物联网毕设 --(STM32f407连接云平台检测数据)
编程内功之编程语言众多的原因
The latest BSC can pay dividends. Any B usdt Shib eth dividend destruction marketing can
Kivy tutorial how to load kV file design interface by string (tutorial includes source code)
[understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered
Heap structure and heap sort heapify
Go language web development series 27: Gin framework: using gin swagger to implement interface documents
Bidirectional linked list (we only need to pay attention to insert and delete functions)
Flutter动态化 | Fair 2.5.0 新版本特性