< prev index next >

test/lib/sun/hotspot/WhiteBox.java

Print this page
@  rev 56288 : 8230305: Cgroups v2: Container awareness
|  Reviewed-by: bobv
~


 521   public native boolean areSharedStringsIgnored();
 522   public native boolean isCDSIncludedInVmBuild();
 523   public native boolean isJFRIncludedInVmBuild();
 524   public native boolean isJavaHeapArchiveSupported();
 525   public native Object  getResolvedReferences(Class<?> c);
 526   public native void    linkClass(Class<?> c);
 527   public native boolean areOpenArchiveHeapObjectsMapped();
 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 
 539   // Container testing
 540   public native boolean isContainerized();







 541   public native void printOsInfo();
 542 
 543   // Decoder
 544   public native void disableElfSectionCache();
 545 
 546   // Resolved Method Table
 547   public native long resolvedMethodItemsCount();
 548 
 549   // Protection Domain Table
 550   public native int protectionDomainRemovedCount();
 551 
 552   // Number of loaded AOT libraries
 553   public native int aotLibrariesCount();
 554 }


 521   public native boolean areSharedStringsIgnored();
 522   public native boolean isCDSIncludedInVmBuild();
 523   public native boolean isJFRIncludedInVmBuild();
 524   public native boolean isJavaHeapArchiveSupported();
 525   public native Object  getResolvedReferences(Class<?> c);
 526   public native void    linkClass(Class<?> c);
 527   public native boolean areOpenArchiveHeapObjectsMapped();
 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 
 539   // Container testing
 540   public native boolean isContainerized();
 541   public native String cgroupType();
 542   public boolean isCgroupsV1() {
 543     return "cgroupv1".equals(cgroupType());
 544   }
 545   public boolean isCgroupsV2() {
 546     return "cgroupv2".equals(cgroupType());
 547   }
 548   public native void printOsInfo();
 549 
 550   // Decoder
 551   public native void disableElfSectionCache();
 552 
 553   // Resolved Method Table
 554   public native long resolvedMethodItemsCount();
 555 
 556   // Protection Domain Table
 557   public native int protectionDomainRemovedCount();
 558 
 559   // Number of loaded AOT libraries
 560   public native int aotLibrariesCount();
 561 }
< prev index next >