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 6447 : imported patch hsx-whitebox-stack-v4.4.diff


 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   public native Object[] getNMethod(Executable method, boolean isOsr);
 139 
 140   // Intered strings
 141   public native boolean isInStringTable(String str);
 142 
 143   // Memory
 144   public native void readReservedMemory();
 145 
 146   // force Full GC
 147   public native void fullGC();
 148 
 149   // Tests on ReservedSpace/VirtualSpace classes
 150   public native int stressVirtualSpaceResize(long reservedSpaceSize, long magnitude, long iterations);
 151   public native void runMemoryUnitTests();
 152   public native void readFromNoaccessArea();


 153 
 154   // CPU features
 155   public native String getCPUFeatures();
 156 
 157 }


 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   public native Object[] getNMethod(Executable method, boolean isOsr);
 139 
 140   // Intered strings
 141   public native boolean isInStringTable(String str);
 142 
 143   // Memory
 144   public native void readReservedMemory();
 145 
 146   // force Full GC
 147   public native void fullGC();
 148 
 149   // Tests on ReservedSpace/VirtualSpace classes
 150   public native int stressVirtualSpaceResize(long reservedSpaceSize, long magnitude, long iterations);
 151   public native void runMemoryUnitTests();
 152   public native void readFromNoaccessArea();
 153   public native long getThreadStackSize();
 154   public native long getThreadRemainingStackSize();
 155 
 156   // CPU features
 157   public native String getCPUFeatures();
 158 
 159 }
test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File