< prev index next >

test/lib/sun/hotspot/WhiteBox.java

Print this page
rev 47248 : 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: ihse, dholmes

@@ -527,6 +527,9 @@
   public native Object  getResolvedReferences(Class<?> c);
 
   // Compiler Directive
   public native int addCompilerDirective(String compDirect);
   public native void removeCompilerDirective(int count);
+
+  // Returns true on linux if library has the noexecstack flag set.
+  public native boolean checkLibSpecifiesNoexecstack(String libfilename);
 }
< prev index next >