< prev index next >

test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, 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.

@@ -28,11 +28,12 @@
  *          MemoryMXBean.getMemoryManager().
  * @requires vm.gc != "Z"
  * @author  Mandy Chung
  *
  * @modules jdk.management
- * @run main MemoryTest 2 3
+ * @run main MemoryTest 4 5
+ * @run main/othervm -XX:+UseParallelGC MemoryTest 2 3
  */
 
 /*
  * NOTE: This expected result is hardcoded in this test and this test
  *       will be affected if the heap memory layout is changed in
< prev index next >