< prev index next >

test/jdk/java/nio/Buffer/LimitDirectMemory.java

Print this page
rev 59105 : imported patch corelibs

*** 23,33 **** /* * @test * @bug 4627316 6743526 * @summary Test option to limit direct memory allocation ! * @requires (os.arch == "x86_64") | (os.arch == "amd64") | (os.arch == "sparcv9") * @library /test/lib * * @summary Test: memory is properly limited using multiple buffers * @run main/othervm -XX:MaxDirectMemorySize=10 LimitDirectMemory true 10 1 * @run main/othervm -XX:MaxDirectMemorySize=1k LimitDirectMemory true 1k 100 --- 23,33 ---- /* * @test * @bug 4627316 6743526 * @summary Test option to limit direct memory allocation ! * @requires (os.arch == "x86_64") | (os.arch == "amd64") * @library /test/lib * * @summary Test: memory is properly limited using multiple buffers * @run main/othervm -XX:MaxDirectMemorySize=10 LimitDirectMemory true 10 1 * @run main/othervm -XX:MaxDirectMemorySize=1k LimitDirectMemory true 1k 100
< prev index next >