test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8032970 Sdiff test/testlibrary/whitebox/sun/hotspot

test/testlibrary/whitebox/sun/hotspot/WhiteBox.java

Print this page
rev 5901 : 8032970: Add stack size check methods to WhiteBox API
Reviewed-by:
Contributed-by: kirill.shirokov@oracle.com


 132   public boolean        enqueueMethodForCompilation(Executable method, int compLevel) {
 133     return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/);
 134   }
 135   public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci);
 136   public native void    clearMethodState(Executable method);
 137   public native int     getMethodEntryBci(Executable method);
 138 
 139   // Intered strings
 140   public native boolean isInStringTable(String str);
 141 
 142   // Memory
 143   public native void readReservedMemory();
 144 
 145   // force Full GC
 146   public native void fullGC();
 147 
 148   // Tests on ReservedSpace/VirtualSpace classes
 149   public native int stressVirtualSpaceResize(long reservedSpaceSize, long magnitude, long iterations);
 150   public native void runMemoryUnitTests();
 151   public native void readFromNoaccessArea();


 152 
 153 }


 132   public boolean        enqueueMethodForCompilation(Executable method, int compLevel) {
 133     return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/);
 134   }
 135   public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci);
 136   public native void    clearMethodState(Executable method);
 137   public native int     getMethodEntryBci(Executable method);
 138 
 139   // Intered strings
 140   public native boolean isInStringTable(String str);
 141 
 142   // Memory
 143   public native void readReservedMemory();
 144 
 145   // force Full GC
 146   public native void fullGC();
 147 
 148   // Tests on ReservedSpace/VirtualSpace classes
 149   public native int stressVirtualSpaceResize(long reservedSpaceSize, long magnitude, long iterations);
 150   public native void runMemoryUnitTests();
 151   public native void readFromNoaccessArea();
 152   public native long getThreadFullStackSize();
 153   public native long getThreadRemainingStackSize();
 154 
 155 }
test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File