< prev index next >

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

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 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 >