7

java | 本地方法栈

 1 year ago
source link: https://benpaodewoniu.github.io/2022/12/17/java105/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

java | 本地方法栈

Native Method Stacks 本地方法栈。

97_0.svg

java 编写的代码是有限制的,有时候不能直接使用操作系统的底层代码,所以,就需要使用 C 或者 C++ 编写的本地方法,来真正操作操作系统。

所以,java 可以通过 CC++ 的本地方法来调用。这些方法就存放在本地方法栈。


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK