< prev index next >

test/lib/sun/hotspot/WhiteBox.java

Print this page
@  rev 56647 : 8230305: Cgroups v2: Container awareness
|  Summary: Implement Cgroups v2 container awareness in hotspot
~  Reviewed-by: bobv


 522   public native boolean areSharedStringsIgnored();
 523   public native boolean isCDSIncludedInVmBuild();
 524   public native boolean isJFRIncludedInVmBuild();
 525   public native boolean isJavaHeapArchiveSupported();
 526   public native Object  getResolvedReferences(Class<?> c);
 527   public native void    linkClass(Class<?> c);
 528   public native boolean areOpenArchiveHeapObjectsMapped();
 529 
 530   // Compiler Directive
 531   public native int addCompilerDirective(String compDirect);
 532   public native void removeCompilerDirective(int count);
 533 
 534   // Handshakes
 535   public native int handshakeWalkStack(Thread t, boolean all_threads);
 536 
 537   // Returns true on linux if library has the noexecstack flag set.
 538   public native boolean checkLibSpecifiesNoexecstack(String libfilename);
 539 
 540   // Container testing
 541   public native boolean isContainerized();







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


 522   public native boolean areSharedStringsIgnored();
 523   public native boolean isCDSIncludedInVmBuild();
 524   public native boolean isJFRIncludedInVmBuild();
 525   public native boolean isJavaHeapArchiveSupported();
 526   public native Object  getResolvedReferences(Class<?> c);
 527   public native void    linkClass(Class<?> c);
 528   public native boolean areOpenArchiveHeapObjectsMapped();
 529 
 530   // Compiler Directive
 531   public native int addCompilerDirective(String compDirect);
 532   public native void removeCompilerDirective(int count);
 533 
 534   // Handshakes
 535   public native int handshakeWalkStack(Thread t, boolean all_threads);
 536 
 537   // Returns true on linux if library has the noexecstack flag set.
 538   public native boolean checkLibSpecifiesNoexecstack(String libfilename);
 539 
 540   // Container testing
 541   public native boolean isContainerized();
 542   public native String containerType();
 543   public boolean isCgroupsV1() {
 544     return "cgroupv1".equals(containerType());
 545   }
 546   public boolean isCgroupsV2() {
 547     return "cgroupv2".equals(containerType());
 548   }
 549   public native void printOsInfo();
 550 
 551   // Decoder
 552   public native void disableElfSectionCache();
 553 
 554   // Resolved Method Table
 555   public native long resolvedMethodItemsCount();
 556 
 557   // Protection Domain Table
 558   public native int protectionDomainRemovedCount();
 559 
 560   // Number of loaded AOT libraries
 561   public native int aotLibrariesCount();
 562 }
< prev index next >