当前位置:网站首页>07 local method stack
07 local method stack
2022-06-25 18:25:00 【Name is too tangled】
1. Introduce
- Java The virtual machine stack is used to manage Java Method call , The local method stack is used to manage calls to local methods .
- Native Method Stack , It's also thread private .
- The memory can be dynamically expanded ( In terms of memory overflow, it is the same as the virtual machine stack )
- If the stack capacity allocated by thread request exceeds the maximum allowed capacity of local method stack ,Java The virtual machine will throw a StackoverflowError abnormal .
- If the native method stack can be dynamically extended , And can't get enough memory when trying to expand , Or when creating a new thread, there is not enough memory to create the corresponding local method stack , that Java The virtual machine will throw a OutofMemoryError abnormal .
- Local methods generally use C The realization of language .
- Its concrete method is Native Method Stack Registered in native Method , stay Execution Engine Load local method library on execution .

2. Other matters
When a thread calls a local method , It's entering a whole new world that's no longer limited by virtual machines . It has the same permissions as a virtual machine .- Local methods can be implemented through local method interfaces
Access the runtime data area inside the virtual machine - It can even use the registers in the local processor directly
- Allocate any amount of memory directly from the local memory heap
- Local methods can be implemented through local method interfaces
Not all JVM Both support local methods . because Java The virtual machine specification does not explicitly require the language of the local method stack 、 How to realize it 、 Data structure, etc. If JVM The product is not intended to support native Method , You don't need to implement a local method stack .- stay Hotspot JVM in , Directly combines the local method stack with the virtual machine stack .
边栏推荐
- [compréhension approfondie de la technologie tcaplusdb] sauvegarde des données d'affaires tcaplusdb
- Detailed explanation of route add command
- Problems encountered during the use of pychar
- [in depth understanding of tcapulusdb technology] tcapulusdb operation and maintenance doc
- Qi v1.2.4协议 之 定频调压方案
- 158_ Model_ Power Bi uses DAX + SVG to open up almost all possibilities for making business charts
- el-table高度自适应
- Using QT to make a beautiful login interface box
- 【深入理解TcaplusDB技术】如何实现Tmonitor单机安装
- connect to address IP: No route to host
猜你喜欢

什么是算子?

SQL Server实时备份库要求
![[in depth understanding of tcapulusdb technology] tcapulusdb model](/img/10/f94a5e1ebeaa803c754dd77351950f.png)
[in depth understanding of tcapulusdb technology] tcapulusdb model
![[compréhension approfondie de la technologie tcaplusdb] sauvegarde des données d'affaires tcaplusdb](/img/7f/6d42dc96348001dd6ebd724a44a123.png)
[compréhension approfondie de la technologie tcaplusdb] sauvegarde des données d'affaires tcaplusdb

158_ Model_ Power Bi uses DAX + SVG to open up almost all possibilities for making business charts

【深入理解TcaplusDB技术】Tmonitor系统升级

【深入理解TcaplusDB技术】单据受理之创建业务指南

IVX 启航
![[deeply understand tcapulusdb technology] create a game area for document acceptance](/img/7b/8c4f1549054ee8c0184495d9e8e378.png)
[deeply understand tcapulusdb technology] create a game area for document acceptance

Wechat applet reports an error: request:fail URL not in domain list
随机推荐
Use pagoda to set up mqtt server
Iet attends the 2022 World Science and technology community development and Governance Forum and offers suggestions for building an international science and technology community
OSError: Unable to open file (truncated file: eof = 254803968, sblock->base_addr = 0, stored_eof = 2
Are the top ten leading securities companies safe to open accounts
Chapter 4:win10 installing mingw64
connect to address IP: No route to host
1、对范数的理解
[deeply understand tcapulusdb technology] tmonitor background one click installation
.NET Worker Service 如何优雅退出
Computing architecture of microblog comments
RMAN备份数据库_管理备份窗口(Backup Window)
C# asp,net core框架传值方式和session使用
Pycharm 使用过程中碰到问题
【深入理解TcaplusDB技术】单据受理之表管理
华为云SRE确定性运维专刊(第一期)
[deeply understand tcapulusdb technology] cluster management operation
[deeply understand tcapulusdb technology] create a game area for document acceptance
十大券商的排名是?手机开户安全么?
【深入理解TcaplusDB技术】单据受理之创建游戏区
158_ Model_ Power Bi uses DAX + SVG to open up almost all possibilities for making business charts