--- old/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java 2014-05-23 15:42:54.218131170 +0400 +++ new/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java 2014-05-23 15:42:54.090131175 +0400 @@ -150,6 +150,8 @@ public native int stressVirtualSpaceResize(long reservedSpaceSize, long magnitude, long iterations); public native void runMemoryUnitTests(); public native void readFromNoaccessArea(); + public native long getThreadStackSize(); + public native long getThreadRemainingStackSize(); // CPU features public native String getCPUFeatures();