当前位置:网站首页>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
边栏推荐
- untiy世界边缘的物体阴影闪动,靠近远点的物体阴影正常
- 顺序表(C语言实现)
- NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
- Complete deep neural network CNN training with tensorflow to complete picture recognition case 2
- [redis] cache warm-up, cache avalanche and cache breakdown
- Swiftui development experience: the five most powerful principles that a programmer needs to master
- JS convert pseudo array to array
- [sort] bucket sort
- SQL Injection (AJAX/JSON/jQuery)
- GoLand 2021.1.1: configure the multi line display of the tab of the open file
猜你喜欢

Comprehensively develop the main channel of digital economy and digital group, and actively promote the utonmos digital Tibet market
![[how to solve FAT32 when the computer is inserted into the U disk or the memory card display cannot be formatted]](/img/95/09552d33d2a834af4d304129714775.png)
[how to solve FAT32 when the computer is inserted into the U disk or the memory card display cannot be formatted]

SQL Injection (POST/Search)

The solution of Chinese font garbled code in keil5

全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场

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

Ocean CMS vulnerability - search php

Flutter动态化 | Fair 2.5.0 新版本特性
![[sort] bucket sort](/img/52/95514b5a70cea75821883e016d8adf.jpg)
[sort] bucket sort

AI 考高数得分 81,网友:AI 模型也免不了“内卷”!
随机推荐
User and group command exercises
Unable to stop it, domestic chips have made another breakthrough, and some links have reached 4nm
Richview trvstyle liststyle list style (bullet number)
Libuv库 - 设计概述(中文版)
untiy世界边缘的物体阴影闪动,靠近远点的物体阴影正常
windos 创建cordova 提示 因为在此系统上禁止运行脚本
MySQL installation, uninstallation, initial password setting and general commands of Linux
[sort] bucket sort
The network card fails to start after the cold migration of the server hard disk
太阳底下无新事,元宇宙能否更上层楼?
JSON serialization case summary
软件测试工作那么难找,只有外包offer,我该去么?
JVM系列——概述,程序计数器day1-1
Kivy教程之 如何通过字符串方式载入kv文件设计界面(教程含源码)
Software testing is so hard to find, only outsourcing offers, should I go?
Go language web development series 27: Gin framework: using gin swagger to implement interface documents
Go 1.16.4: manage third-party libraries with Mod
全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
php 迷宫游戏