且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Java 7上使用JNI运行Java 5/6会给出堆栈保护警告

更新时间:2023-12-03 22:53:16

在这里找到答案 已禁用堆栈保护警告(ACF9,JVM 1.7,Linux)

他说

这是Linux上Java 7的HotSpot编译器中的一项功能,该功能试图阻止用C编写并链接到Java的代码(所谓的Java本机接口-JNI)在整个VM被不良或恶意编写时停止整个VM.

This is a feature in Java 7’s HotSpot compiler on Linux which tries to stop code written in C and linked into Java (the so-called Java Native Interface - JNI) from halting the whole VM if it’s written badly or maliciously.