< prev index next >

test/lib/sun/hotspot/WhiteBox.java

Print this page
rev 2795 : 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack.


 512     return methodOptionGetters.stream()
 513                               .map(f -> f.apply(method, name))
 514                               .filter(x -> x != null)
 515                               .findAny()
 516                               .orElse(null);
 517   }
 518 
 519   // Safepoint Checking
 520   public native void assertMatchingSafepointCalls(boolean mutexSafepointValue, boolean attemptedNoSafepointValue);
 521 
 522   // Sharing & archiving
 523   public native boolean isShared(Object o);
 524   public native boolean isSharedClass(Class<?> c);
 525   public native boolean areSharedStringsIgnored();
 526   public native boolean isCDSIncludedInVmBuild();
 527   public native Object  getResolvedReferences(Class<?> c);
 528 
 529   // Compiler Directive
 530   public native int addCompilerDirective(String compDirect);
 531   public native void removeCompilerDirective(int count);



 532 }


 512     return methodOptionGetters.stream()
 513                               .map(f -> f.apply(method, name))
 514                               .filter(x -> x != null)
 515                               .findAny()
 516                               .orElse(null);
 517   }
 518 
 519   // Safepoint Checking
 520   public native void assertMatchingSafepointCalls(boolean mutexSafepointValue, boolean attemptedNoSafepointValue);
 521 
 522   // Sharing & archiving
 523   public native boolean isShared(Object o);
 524   public native boolean isSharedClass(Class<?> c);
 525   public native boolean areSharedStringsIgnored();
 526   public native boolean isCDSIncludedInVmBuild();
 527   public native Object  getResolvedReferences(Class<?> c);
 528 
 529   // Compiler Directive
 530   public native int addCompilerDirective(String compDirect);
 531   public native void removeCompilerDirective(int count);
 532 
 533   // Returns true on linux if library has the noexecstack flag set.
 534   public native boolean checkLibSpecifiesNoexecstack(String libfilename);
 535 }
< prev index next >