当前位置:网站首页>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
边栏推荐
- 记录关于银行回调post请求405 问题
- Summary of common error reporting problems and positioning methods of thrift
- Static linked list (subscript of array instead of pointer)
- The solution of Chinese font garbled code in keil5
- Qt学习24 布局管理器(三)
- 【被动收入如何挣个一百万】
- Unity Render Streaming通过Js与Unity自定义通讯
- 全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场
- [556. Next larger element III]
- Unity embeddedbrowser browser plug-in event communication
猜你喜欢
GoLand 2021.1: rename the go project
Richview trvstyle liststyle list style (bullet number)
Summary of common error reporting problems and positioning methods of thrift
Go language unit test 5: go language uses go sqlmock and Gorm to do database query mock
MySQL functions and related cases and exercises
SQL Injection (POST/Select)
MySQL installation, uninstallation, initial password setting and general commands of Linux
物联网毕设 --(STM32f407连接云平台检测数据)
Mobile phones and computers can be used, whole people, spoof code connections, "won't you Baidu for a while" teach you to use Baidu
太阳底下无新事,元宇宙能否更上层楼?
随机推荐
MySQL 数据增删改查综合案例
GoLand 2021.2 configure go (go1.17.6)
[技术发展-24]:现有物联网通信技术特点
MapReduce implements matrix multiplication - implementation code
pytorch 载入历史模型时更换gpu卡号,map_location设置
Qt学习22 布局管理器(一)
SQL Injection (POST/Search)
静态链表(数组的下标代替指针)
Swiftui development experience: the five most powerful principles that a programmer needs to master
Shell timing script, starting from 0, CSV format data is regularly imported into PostgreSQL database shell script example
Mycms we media mall v3.4.1 release, user manual update
Golang — 命令行工具cobra
Multi table query of MySQL - multi table relationship and related exercises
Mobile phones and computers can be used, whole people, spoof code connections, "won't you Baidu for a while" teach you to use Baidu
Resource Cost Optimization Practice of R & D team
GoLand 2021.1.1: configure the multi line display of the tab of the open file
php 迷宫游戏
使用tensorflow进行完整的DNN深度神经网络CNN训练完成图片识别案例
全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场
Mastering the cypress command line options is the basis for truly mastering cypress