当前位置:网站首页>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
边栏推荐
- Setting up remote links to MySQL on Linux
- 编程内功之编程语言众多的原因
- [技术发展-24]:现有物联网通信技术特点
- Qt学习25 布局管理器(四)
- There is nothing new under the sun. Can the meta universe go higher?
- windos 创建cordova 提示 因为在此系统上禁止运行脚本
- Field problems in MySQL
- Heap structure and heap sort heapify
- Kivy tutorial how to automatically load kV files
- ThreadPoolExecutor realizes multi-threaded concurrency and obtains the return value (elegant and concise way)
猜你喜欢

Golang — 命令行工具cobra

logback日志的整理

AI 考高数得分 81,网友:AI 模型也免不了“内卷”!

Unity EmbeddedBrowser浏览器插件事件通讯

Common network state detection and analysis tools

Flutter动态化 | Fair 2.5.0 新版本特性

使用Tensorflow进行完整的深度神经网络CNN训练完成图片识别案例2

双向链表(我们只需要关注插入和删除函数)

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

【BW16 应用篇】安信可BW16模组与开发板更新固件烧录说明
随机推荐
MySQL 数据处理值增删改
Red hat satellite 6: better management of servers and clouds
Shell timing script, starting from 0, CSV format data is regularly imported into PostgreSQL database shell script example
Libuv Library - Design Overview (Chinese version)
Mastering the cypress command line options is the basis for truly mastering cypress
Common network state detection and analysis tools
从零开始的基于百度大脑EasyData的多人协同数据标注
SQL Injection (AJAX/JSON/jQuery)
使用tensorflow进行完整的DNN深度神经网络CNN训练完成图片识别案例
Go 1.16.4: purpose of go mod tidy
【556. 下一个更大元素 III】
JVM系列——概述,程序计数器day1-1
Qt学习25 布局管理器(四)
Libuv库 - 设计概述(中文版)
Open PHP error prompt under Ubuntu 14.04
树的深入和广度优先遍历(不考虑二叉树)
Mycms we media mall v3.4.1 release, user manual update
Golang — 命令行工具cobra
Golang — template
Use docker to build sqli lab environment and upload labs environment, and the operation steps are provided with screenshots.