< prev index next >

test/lib/sun/hotspot/WhiteBox.java

Print this page
rev 47415 : Add Thread Local handshakes and thread local polling


 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 }


 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   // Handshakes
 534   public native int handshakeWalkStack(Thread t, boolean all_threads);
 535 
 536   // Returns true on linux if library has the noexecstack flag set.
 537   public native boolean checkLibSpecifiesNoexecstack(String libfilename);
 538 }
< prev index next >