test/runtime/whitebox/WBStackSize.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff test/runtime/whitebox/WBStackSize.java

test/runtime/whitebox/WBStackSize.java

Print this page

        

*** 22,35 **** */ /* * @test WBStackSize * @summary verify that whitebox functions getThreadFullStackSize() and getThreadRemainingStackSize are working ! * @library /testlibrary /testlibrary/whitebox * @build WBStackSize ! * @run main ClassFileInstaller sun.hotspot.WhiteBox ! * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xss512k WBStackSize */ /* * The test may product a false failure if too big StackYellowPages/StackRedPages/ShackShadowPages --- 22,35 ---- */ /* * @test WBStackSize * @summary verify that whitebox functions getThreadFullStackSize() and getThreadRemainingStackSize are working ! * @library /testlibrary /../../test/lib * @build WBStackSize ! * @run main ClassFileInstaller jdk.testlib.WhiteBox ! * jdk.testlib.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xss512k WBStackSize */ /* * The test may product a false failure if too big StackYellowPages/StackRedPages/ShackShadowPages
*** 38,48 **** * Math.abs(actualStackSize - configStackSize) > configStackSize * 0.1 * * Please file a test bug, if this is a problem. */ ! import sun.hotspot.WhiteBox; public class WBStackSize { static final long K = 1024; --- 38,48 ---- * Math.abs(actualStackSize - configStackSize) > configStackSize * 0.1 * * Please file a test bug, if this is a problem. */ ! import jdk.testlib.WhiteBox; public class WBStackSize { static final long K = 1024;
test/runtime/whitebox/WBStackSize.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File