Mercurial > hg > jdk9-shenandoah > hotspot
changeset 8734:f4b8d39bd2a7
8075586: Add @modules as needed to the open hotspot tests
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
Contributed-by: alexander.kulyakhtin@oracle.com
line wrap: on
line diff
--- a/test/TEST.ROOT Mon Mar 23 11:44:41 2015 -0700 +++ b/test/TEST.ROOT Thu Mar 26 16:36:56 2015 +0100 @@ -32,5 +32,5 @@ groups=TEST.groups [closed/TEST.groups] requires.properties=sun.arch.data.model -# Tests using jtreg 4.1 b10 features -requiredVersion=4.1 b10 +# Tests using jtreg 4.1 b11 features +requiredVersion=4.1 b11
--- a/test/compiler/arguments/CheckCompileThresholdScaling.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arguments/CheckCompileThresholdScaling.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8059604 * @summary "Add CompileThresholdScaling flag to control when methods are first compiled (with +/-TieredCompilation)" * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main CheckCompileThresholdScaling */
--- a/test/compiler/arguments/TestUseBMI1InstructionsOnSupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arguments/TestUseBMI1InstructionsOnSupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify processing of UseBMI1Instructions option on CPU with * BMI1 feature support. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestUseBMI1InstructionsOnSupportedCPU * BMISupportedCPUTest * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/arguments/TestUseBMI1InstructionsOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arguments/TestUseBMI1InstructionsOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify processing of UseBMI1Instructions option on CPU without * BMI1 feature support. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestUseBMI1InstructionsOnUnsupportedCPU * BMIUnsupportedCPUTest * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnSupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnSupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify processing of UseCountLeadingZerosInstruction option * on CPU with LZCNT support. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestUseCountLeadingZerosInstructionOnSupportedCPU * BMISupportedCPUTest * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify processing of UseCountLeadingZerosInstruction option * on CPU without LZCNT support. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestUseCountLeadingZerosInstructionOnUnsupportedCPU * BMIUnsupportedCPUTest * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnSupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnSupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify processing of UseCountTrailingZerosInstruction option * on CPU with TZCNT (BMI1 feature) support. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestUseCountTrailingZerosInstructionOnSupportedCPU * BMISupportedCPUTest * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify processing of UseCountTrailingZerosInstruction option * on CPU without TZCNT instruction (BMI1 feature) support. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestUseCountTrailingZerosInstructionOnUnsupportedCPU * BMIUnsupportedCPUTest * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/arraycopy/TestArrayCopyNoInitDeopt.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/arraycopy/TestArrayCopyNoInitDeopt.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @bug 8072016 * @summary Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation * @library /testlibrary /../../test/lib /compiler/whitebox + * @modules java.base/sun.misc + * java.management * @build TestArrayCopyNoInitDeopt * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller com.oracle.java.testlibrary.Platform
--- a/test/compiler/c1/6932496/Test6932496.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c1/6932496/Test6932496.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2015, 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 @@ -26,6 +26,7 @@ * @test * @bug 6932496 * @summary incorrect deopt of jsr subroutine on 64 bit c1 + * @modules java.base/jdk.internal.org.objectweb.asm * @run main/othervm -Xcomp -XX:CompileOnly=Test.test Test6932496 */ import java.lang.reflect.Method;
--- a/test/compiler/c2/6589834/Test_ia32.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/6589834/Test_ia32.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2015, 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 @@ -27,6 +27,10 @@ * @summary Safepoint placed between stack pointer increment and decrement leads * to interpreter's stack corruption after deoptimization. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build ClassFileInstaller sun.hotspot.WhiteBox com.oracle.java.testlibrary.* * Test_ia32 InlinedArrayCloneTestCase * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/c2/6852078/Test6852078.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/6852078/Test6852078.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2015, 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 @@ -27,6 +27,8 @@ * @bug 6852078 * @summary Disable SuperWord optimization for unsafe read/write * + * @modules java.corba/com.sun.corba.se.impl.encoding + * java.corba/com.sun.jndi.toolkit.corba * @run main Test6852078 */
--- a/test/compiler/c2/6857159/Test6857159.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/6857159/Test6857159.java Thu Mar 26 16:36:56 2015 +0100 @@ -27,6 +27,8 @@ * @bug 6857159 * @summary local schedule failed with checkcast of Thread.currentThread() * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/compiler/c2/6968348/Test6968348.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/6968348/Test6968348.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2015, 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 @@ -27,6 +27,7 @@ * @bug 6968348 * @summary Byteswapped memory access can point to wrong location after JIT * + * @modules java.base/sun.misc * @run main Test6968348 */
--- a/test/compiler/c2/7047069/Test7047069.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/7047069/Test7047069.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2015, 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 @@ -27,6 +27,7 @@ * @bug 7047069 * @summary Array can dynamically change size when assigned to an object field * + * @modules java.desktop * @run main/othervm -Xbatch Test7047069 */
--- a/test/compiler/c2/7068051/Test7068051.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/7068051/Test7068051.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2015, 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 @@ -28,6 +28,8 @@ * @summary SIGSEGV in PhaseIdealLoop::build_loop_late_post on T5440 * @library /testlibrary * + * @modules java.base/sun.misc + * java.management * @run main/othervm -showversion -Xbatch Test7068051 */
--- a/test/compiler/c2/7190310/Test7190310_unsafe.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/7190310/Test7190310_unsafe.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -26,6 +26,7 @@ * @test * @bug 7190310 * @summary Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops + * @modules java.base/sun.misc * @run main/othervm -Xbatch Test7190310_unsafe */
--- a/test/compiler/c2/8004867/TestIntUnsafeCAS.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/8004867/TestIntUnsafeCAS.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,7 @@ * @bug 8004867 * @summary VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob" * + * @modules java.base/sun.misc * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-OptimizeFill TestIntUnsafeCAS * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+OptimizeFill TestIntUnsafeCAS */
--- a/test/compiler/c2/8004867/TestIntUnsafeOrdered.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/8004867/TestIntUnsafeOrdered.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,7 @@ * @bug 8004867 * @summary VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob" * + * @modules java.base/sun.misc * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-OptimizeFill TestIntUnsafeOrdered * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+OptimizeFill TestIntUnsafeOrdered */
--- a/test/compiler/c2/8004867/TestIntUnsafeVolatile.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/8004867/TestIntUnsafeVolatile.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,7 @@ * @bug 8004867 * @summary VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob" * + * @modules java.base/sun.misc * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-OptimizeFill TestIntUnsafeVolatile * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+OptimizeFill TestIntUnsafeVolatile */
--- a/test/compiler/c2/8005956/PolynomialRoot.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/c2/8005956/PolynomialRoot.java Thu Mar 26 16:36:56 2015 +0100 @@ -14,6 +14,8 @@ * @bug 8005956 * @summary C2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block * @library /testlibrary +* @modules java.base/sun.misc +* java.management * @run main/timeout=300 PolynomialRoot */
--- a/test/compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -34,6 +34,7 @@ * @bug 8054402 * @summary "Tests unloading of anonymous classes." * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc * @compile TestAnonymousClassUnloading.java * @run main ClassFileInstaller TestAnonymousClassUnloading * sun.hotspot.WhiteBox
--- a/test/compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * InitialCodeCacheSize are passed to the VM is irrelevant. * @library /testlibrary * + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/compiler/codecache/CheckSegmentedCodeCache.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/CheckSegmentedCodeCache.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -29,6 +29,8 @@ * @bug 8015774 * @library /testlibrary /../../test/lib * @summary "Checks VM options related to the segmented code cache" + * @modules java.base/sun.misc + * java.management * @build CheckSegmentedCodeCache * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/CheckUpperLimit.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/CheckUpperLimit.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @summary Test ensures that the ReservedCodeCacheSize is at most MAXINT * @library /testlibrary * + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/compiler/codecache/OverflowCodeCacheTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/OverflowCodeCacheTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -35,6 +35,7 @@ * @test OverflowCodeCacheTest * @bug 8059550 * @library /testlibrary /../../test/lib + * @modules java.management * @build OverflowCodeCacheTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/cli/TestSegmentedCodeCacheOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/cli/TestSegmentedCodeCacheOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -31,6 +31,10 @@ * @bug 8015774 * @summary Verify SegmentedCodeCache option's processing * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build TestSegmentedCodeCacheOption com.oracle.java.testlibrary.* * @run main TestSegmentedCodeCacheOption */
--- a/test/compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -32,6 +32,10 @@ * @bug 8015774 * @summary Verify processing of options related to code heaps sizing. * @library /testlibrary .. /../../test/lib + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build TestCodeHeapSizeOptions com.oracle.java.testlibrary.* codeheapsize.* * common.* * @run main/timeout=240 codeheapsize.TestCodeHeapSizeOptions
--- a/test/compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -31,6 +31,10 @@ * @bug 8015774 * @summary Verify that PrintCodeCache option print correct information. * @library /testlibrary .. /../../test/lib + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build TestPrintCodeCacheOption com.oracle.java.testlibrary.* * printcodecache.* common.* * @run main/timeout=240 printcodecache.TestPrintCodeCacheOption
--- a/test/compiler/codecache/jmx/BeanTypeTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/BeanTypeTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,7 @@ /** * @test BeanTypeTest * @library /testlibrary /../../test/lib + * @modules java.management * @build BeanTypeTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/CodeHeapBeanPresenceTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/CodeHeapBeanPresenceTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,7 @@ /** * @test CodeHeapBeanPresenceTest * @library /testlibrary /../../test/lib + * @modules java.management * @build CodeHeapBeanPresenceTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/GetUsageTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/GetUsageTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -30,6 +30,8 @@ /* * @test GetUsageTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build GetUsageTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/InitialAndMaxUsageTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/InitialAndMaxUsageTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -30,6 +30,8 @@ /* * @test InitialAndMaxUsageTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build InitialAndMaxUsageTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/ManagerNamesTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/ManagerNamesTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,7 @@ /** * @test ManagerNamesTest * @library /testlibrary /../../test/lib + * @modules java.management * @build ManagerNamesTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/MemoryPoolsPresenceTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/MemoryPoolsPresenceTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -33,6 +33,7 @@ /** * @test MemoryPoolsPresenceTest * @library /testlibrary /../../test/lib + * @modules java.management * @build MemoryPoolsPresenceTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/PeakUsageTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/PeakUsageTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ /* * @test PeakUsageTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build PeakUsageTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/ThresholdNotificationsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/ThresholdNotificationsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -35,6 +35,8 @@ /* * @test ThresholdNotificationsTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build ThresholdNotificationsTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/UsageThresholdExceededSeveralTimesTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/UsageThresholdExceededSeveralTimesTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -24,6 +24,8 @@ /* * @test UsageThresholdExceededSeveralTimesTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build UsageThresholdExceededTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/UsageThresholdExceededTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/UsageThresholdExceededTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ /* * @test UsageThresholdExceededTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build UsageThresholdExceededTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/UsageThresholdIncreasedTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/UsageThresholdIncreasedTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ /* * @test UsageThresholdIncreasedTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build UsageThresholdIncreasedTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/jmx/UsageThresholdNotExceededTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/jmx/UsageThresholdNotExceededTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ /* * @test UsageThresholdNotExceededTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build UsageThresholdNotExceededTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/stress/OverloadCompileQueueTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/stress/OverloadCompileQueueTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -30,6 +30,8 @@ /* * @test OverloadCompileQueueTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @ignore 8071905 * @build OverloadCompileQueueTest * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/compiler/codecache/stress/RandomAllocationTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/stress/RandomAllocationTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -29,6 +29,8 @@ /* * @test RandomAllocationTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build RandomAllocationTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codecache/stress/UnexpectedDeoptimizationTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codecache/stress/UnexpectedDeoptimizationTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ /* * @test UnexpectedDeoptimizationTest * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build UnexpectedDeoptimizationTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/codegen/6896617/Test6896617.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codegen/6896617/Test6896617.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,9 @@ * @bug 6896617 * @summary Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() with SSE instructions on x86 * @library /testlibrary + * @modules java.base/sun.misc + * java.base/sun.nio.cs + * java.management * @run main/othervm/timeout=1200 -Xbatch -Xmx256m Test6896617 * */
--- a/test/compiler/codegen/7100757/Test7100757.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codegen/7100757/Test7100757.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2015, 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 @@ -27,6 +27,8 @@ * @bug 7100757 * @summary The BitSet.nextSetBit() produces incorrect result in 32bit VM on Sparc * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/timeout=300 Test7100757 */
--- a/test/compiler/codegen/7184394/TestAESMain.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codegen/7184394/TestAESMain.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -28,6 +28,8 @@ * @summary add intrinsics to use AES instructions * @library /testlibrary * + * @modules java.base/sun.misc + * java.management * @run main/othervm/timeout=600 -Xbatch -DcheckOutput=true -Dmode=CBC TestAESMain * @run main/othervm/timeout=600 -Xbatch -DcheckOutput=true -Dmode=CBC -DencInputOffset=1 TestAESMain * @run main/othervm/timeout=600 -Xbatch -DcheckOutput=true -Dmode=CBC -DencOutputOffset=1 TestAESMain
--- a/test/compiler/codegen/8011901/Test8011901.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/codegen/8011901/Test8011901.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test * @bug 8011901 * @summary instruct xaddL_no_res shouldn't allow 64 bit constants. + * @modules java.base/sun.misc * @run main/othervm -XX:-BackgroundCompilation Test8011901 * */
--- a/test/compiler/cpuflags/RestoreMXCSR.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/cpuflags/RestoreMXCSR.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,7 +26,8 @@ * @bug 8020433 * @summary Crash when using -XX:+RestoreMXCSROnJNICalls * @library /testlibrary - * + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/compiler/debug/VerifyAdapterSharing.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/debug/VerifyAdapterSharing.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,7 +26,8 @@ * @bug 8030783 * @summary Regression test for 8026478 * @library /testlibrary - * + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -32,6 +32,8 @@ * @bug 8050079 * @summary Compiles a monomorphic call to finalizeObject() on a modified java.lang.Object to test C1 CHA. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile -XDignore.symbol.file java/lang/Object.java TestMonomorphicObjectCall.java * @run main TestMonomorphicObjectCall */
--- a/test/compiler/escapeAnalysis/TestUnsafePutAddressNullObjMustNotEscape.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/escapeAnalysis/TestUnsafePutAddressNullObjMustNotEscape.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,7 @@ * @test * @bug 8038048 * @summary assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) + * @modules java.base/sun.misc * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+DoEscapeAnalysis -XX:-TieredCompilation -Xbatch TestUnsafePutAddressNullObjMustNotEscape * @author Richard Reingruber richard DOT reingruber AT sap DOT com */
--- a/test/compiler/floatingpoint/TestPow2.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/floatingpoint/TestPow2.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,7 @@ * @bug 8063086 * @summary X^2 special case for C2 yields different result than interpreter * @library /testlibrary /../../test/lib /compiler/whitebox + * @modules java.management * @build TestPow2 * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
--- a/test/compiler/intrinsics/bmi/TestAndnI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestAndnI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of ANDN instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestAndnI BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestAndnL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestAndnL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of ANDN instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestAndnL BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestBlsiI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestBlsiI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of BLSI instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestBlsiI BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestBlsiL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestBlsiL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of BLSI instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestBlsiL BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestBlsmskI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestBlsmskI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of BLSMSK instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestBlsmskI BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestBlsmskL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestBlsmskL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of BLSMSK instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestBlsmskL BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestBlsrI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestBlsrI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of BLSR instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestBlsrI BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestBlsrL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestBlsrL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of BLSR instruction * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestBlsrL BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestLzcntI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestLzcntI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of intrinsic * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestLzcntI BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestLzcntL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestLzcntL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of intrinsic * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestLzcntL BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestTzcntI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestTzcntI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of intrinsic * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestTzcntI BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/TestTzcntL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/TestTzcntL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that results of computations are the same w/ * and w/o usage of intrinsic * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestTzcntL BMITestRunner Expr * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/AddnTestI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/AddnTestI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build AddnTestI * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/AddnTestL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/AddnTestL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build AddnTestL * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/BlsiTestI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/BlsiTestI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build BlsiTestI * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/BlsiTestL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/BlsiTestL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build BlsiTestL * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/BlsmskTestI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/BlsmskTestI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build BlsmskTestI * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/BlsmskTestL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/BlsmskTestL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build BlsmskTestL * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/BlsrTestI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/BlsrTestI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build BlsrTestI * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/BlsrTestL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/BlsrTestL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build BlsrTestL * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/LZcntTestI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/LZcntTestI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build LZcntTestI * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/LZcntTestL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/LZcntTestL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build LZcntTestL * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/TZcntTestI.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/TZcntTestI.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build TZcntTestI * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/bmi/verifycode/TZcntTestL.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/bmi/verifycode/TZcntTestL.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @bug 8031321 * @library /testlibrary /../../test/lib /compiler/whitebox .. + * @modules java.base/sun.misc + * java.management * @build TZcntTestL * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/classcast/NullCheckDroppingsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/classcast/NullCheckDroppingsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8054492 * @summary "Casting can result in redundant null checks in generated code" * @library /testlibrary /../../test/lib /testlibrary/com/oracle/java/testlibrary + * @modules java.base/sun.misc + * java.management * @build NullCheckDroppingsTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/AddExactIConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/AddExactIConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8024924 * @summary Test constant addExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile AddExactIConstantTest.java Verify.java * @run main AddExactIConstantTest *
--- a/test/compiler/intrinsics/mathexact/AddExactILoadTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/AddExactILoadTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8024924 * @summary Test non constant addExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile AddExactILoadTest.java Verify.java * @run main AddExactILoadTest *
--- a/test/compiler/intrinsics/mathexact/AddExactILoopDependentTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/AddExactILoopDependentTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8024924 * @summary Test non constant addExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile AddExactILoopDependentTest.java Verify.java * @run main AddExactILoopDependentTest *
--- a/test/compiler/intrinsics/mathexact/AddExactINonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/AddExactINonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8024924 * @summary Test non constant addExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile AddExactINonConstantTest.java Verify.java * @run main AddExactINonConstantTest *
--- a/test/compiler/intrinsics/mathexact/AddExactIRepeatTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/AddExactIRepeatTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8025657 * @summary Test repeating addExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile AddExactIRepeatTest.java Verify.java * @run main AddExactIRepeatTest *
--- a/test/compiler/intrinsics/mathexact/AddExactLConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/AddExactLConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test constant addExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile AddExactLConstantTest.java Verify.java * @run main AddExactLConstantTest *
--- a/test/compiler/intrinsics/mathexact/AddExactLNonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/AddExactLNonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test non constant addExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile AddExactLNonConstantTest.java Verify.java * @run main AddExactLNonConstantTest *
--- a/test/compiler/intrinsics/mathexact/DecExactITest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/DecExactITest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test decrementExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile DecExactITest.java Verify.java * @run main DecExactITest *
--- a/test/compiler/intrinsics/mathexact/DecExactLTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/DecExactLTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test decrementExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile DecExactLTest.java Verify.java * @run main DecExactLTest *
--- a/test/compiler/intrinsics/mathexact/IncExactITest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/IncExactITest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test incrementExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile IncExactITest.java Verify.java * @run main IncExactITest *
--- a/test/compiler/intrinsics/mathexact/IncExactLTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/IncExactLTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test incrementExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile IncExactLTest.java Verify.java * @run main IncExactLTest *
--- a/test/compiler/intrinsics/mathexact/MulExactIConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/MulExactIConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test constant multiplyExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile MulExactIConstantTest.java Verify.java * @run main MulExactIConstantTest *
--- a/test/compiler/intrinsics/mathexact/MulExactILoadTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/MulExactILoadTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test multiplyExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile MulExactILoadTest.java Verify.java * @run main MulExactILoadTest *
--- a/test/compiler/intrinsics/mathexact/MulExactILoopDependentTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/MulExactILoopDependentTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test loop dependent multiplyExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile MulExactILoopDependentTest.java Verify.java * @run main MulExactILoopDependentTest *
--- a/test/compiler/intrinsics/mathexact/MulExactINonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/MulExactINonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test non constant multiplyExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile MulExactINonConstantTest.java Verify.java * @run main MulExactINonConstantTest *
--- a/test/compiler/intrinsics/mathexact/MulExactIRepeatTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/MulExactIRepeatTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test repeating multiplyExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile MulExactIRepeatTest.java Verify.java * @run main MulExactIRepeatTest *
--- a/test/compiler/intrinsics/mathexact/MulExactLConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/MulExactLConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test constant mulExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile MulExactLConstantTest.java Verify.java * @run main MulExactLConstantTest *
--- a/test/compiler/intrinsics/mathexact/MulExactLNonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/MulExactLNonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test non constant mulExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile MulExactLNonConstantTest.java Verify.java * @run main MulExactLNonConstantTest *
--- a/test/compiler/intrinsics/mathexact/NegExactIConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/NegExactIConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test constant negExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile NegExactIConstantTest.java Verify.java * @run main NegExactIConstantTest *
--- a/test/compiler/intrinsics/mathexact/NegExactILoadTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/NegExactILoadTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test negExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile NegExactILoadTest.java Verify.java * @run main NegExactILoadTest *
--- a/test/compiler/intrinsics/mathexact/NegExactILoopDependentTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/NegExactILoopDependentTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test negExact loop dependent * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile NegExactILoopDependentTest.java Verify.java * @run main NegExactILoopDependentTest *
--- a/test/compiler/intrinsics/mathexact/NegExactINonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/NegExactINonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test non constant negExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile NegExactINonConstantTest.java Verify.java * @run main NegExactINonConstantTest *
--- a/test/compiler/intrinsics/mathexact/NegExactLConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/NegExactLConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test constant negExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile NegExactLConstantTest.java Verify.java * @run main NegExactLConstantTest *
--- a/test/compiler/intrinsics/mathexact/NegExactLNonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/NegExactLNonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test constant negExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile NegExactLNonConstantTest.java Verify.java * @run main NegExactLNonConstantTest *
--- a/test/compiler/intrinsics/mathexact/SubExactICondTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactICondTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test subtractExact as condition * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactICondTest.java Verify.java * @run main SubExactICondTest *
--- a/test/compiler/intrinsics/mathexact/SubExactIConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactIConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test constant subtractExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactIConstantTest.java Verify.java * @run main SubExactIConstantTest *
--- a/test/compiler/intrinsics/mathexact/SubExactILoadTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactILoadTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test non constant subtractExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactILoadTest.java Verify.java * @run main SubExactILoadTest *
--- a/test/compiler/intrinsics/mathexact/SubExactILoopDependentTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactILoopDependentTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test non constant subtractExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactILoopDependentTest.java Verify.java * @run main SubExactILoopDependentTest *
--- a/test/compiler/intrinsics/mathexact/SubExactINonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactINonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test non constant subtractExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactINonConstantTest.java Verify.java * @run main SubExactINonConstantTest *
--- a/test/compiler/intrinsics/mathexact/SubExactIRepeatTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactIRepeatTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026844 * @summary Test repeating subtractExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactIRepeatTest.java Verify.java * @run main SubExactIRepeatTest *
--- a/test/compiler/intrinsics/mathexact/SubExactLConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactLConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8027353 * @summary Test constant subtractExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactLConstantTest.java Verify.java * @run main SubExactLConstantTest *
--- a/test/compiler/intrinsics/mathexact/SubExactLNonConstantTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/SubExactLNonConstantTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8027353 * @summary Test non constant subtractExact * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile SubExactLNonConstantTest.java Verify.java * @run main SubExactLNonConstantTest *
--- a/test/compiler/intrinsics/mathexact/sanity/AddExactIntTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/AddExactIntTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build AddExactIntTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/AddExactLongTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/AddExactLongTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build AddExactLongTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/DecrementExactIntTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/DecrementExactIntTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build DecrementExactIntTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/DecrementExactLongTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/DecrementExactLongTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build DecrementExactLongTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/IncrementExactIntTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/IncrementExactIntTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build IncrementExactIntTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/IncrementExactLongTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/IncrementExactLongTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build IncrementExactLongTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/MultiplyExactIntTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/MultiplyExactIntTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build MultiplyExactIntTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/MultiplyExactLongTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/MultiplyExactLongTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build MultiplyExactLongTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/NegateExactIntTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/NegateExactIntTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build NegateExactIntTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/NegateExactLongTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/NegateExactLongTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build NegateExactLongTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/SubtractExactIntTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/SubtractExactIntTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build SubtractExactIntTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/mathexact/sanity/SubtractExactLongTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/mathexact/sanity/SubtractExactLongTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @library /testlibrary /../../test/lib /compiler/whitebox * /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build SubtractExactLongTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnSupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnSupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA1Intrinsics option processing on supported CPU, * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHA1IntrinsicsOptionOnSupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA1Intrinsics option processing on unsupported CPU, * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHA1IntrinsicsOptionOnUnsupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA256Intrinsics option processing on supported CPU, * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHA256IntrinsicsOptionOnSupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA256Intrinsics option processing on unsupported CPU, * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHA256IntrinsicsOptionOnUnsupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnSupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnSupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA512Intrinsics option processing on supported CPU. * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHA512IntrinsicsOptionOnSupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA512Intrinsics option processing on unsupported CPU, * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHA512IntrinsicsOptionOnUnsupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA option processing on supported CPU, * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHAOptionOnSupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify UseSHA option processing on unsupported CPU. * @library /testlibrary /../../test/lib /compiler/testlibrary testcases + * @modules java.base/sun.misc + * java.management * @build TestUseSHAOptionOnUnsupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8035968 * @summary Verify that SHA-1 intrinsic is actually used. * @library /testlibrary /../../test/lib /compiler/testlibrary ../ + * @modules java.base/sun.misc + * java.management * @build TestSHA intrinsics.Verifier TestSHA1Intrinsics * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8035968 * @summary Verify that SHA-1 multi block intrinsic is actually used. * @library /testlibrary /../../test/lib /compiler/testlibrary ../ + * @modules java.base/sun.misc + * java.management * @build TestSHA intrinsics.Verifier TestSHA1MultiBlockIntrinsics * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8035968 * @summary Verify that SHA-256 intrinsic is actually used. * @library /testlibrary /../../test/lib /compiler/testlibrary ../ + * @modules java.base/sun.misc + * java.management * @build TestSHA intrinsics.Verifier TestSHA256Intrinsics * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8035968 * @summary Verify that SHA-256 multi block intrinsic is actually used. * @library /testlibrary /../../test/lib /compiler/testlibrary ../ + * @modules java.base/sun.misc + * java.management * @build TestSHA intrinsics.Verifier TestSHA256MultiBlockIntrinsics * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8035968 * @summary Verify that SHA-512 intrinsic is actually used. * @library /testlibrary /../../test/lib /compiler/testlibrary ../ + * @modules java.base/sun.misc + * java.management * @build TestSHA intrinsics.Verifier TestSHA512Intrinsics * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8035968 * @summary Verify that SHA-512 multi block intrinsic is actually used. * @library /testlibrary /../../test/lib /compiler/testlibrary ../ + * @modules java.base/sun.misc + * java.management * @build TestSHA intrinsics.Verifier TestSHA512MultiBlockIntrinsics * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/intrinsics/unsafe/UnsafeGetAddressTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/intrinsics/unsafe/UnsafeGetAddressTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test * @bug 6653795 * @summary C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems + * @modules java.base/sun.misc * @run main UnsafeGetAddressTest * */
--- a/test/compiler/jsr292/ConcurrentClassLoadingTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/jsr292/ConcurrentClassLoadingTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8022595 * @summary JSR292: deadlock during class loading of MethodHandles, MethodHandleImpl & MethodHandleNatives * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm ConcurrentClassLoadingTest */ import com.oracle.java.testlibrary.Utils;
--- a/test/compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,7 +26,7 @@ * @test * @bug 8026124 * @summary Javascript file provoked assertion failure in linkResolver.cpp - * + * @modules jdk.scripting.nashorn/jdk.nashorn.tools * @run main/othervm CreatesInterfaceDotEqualsCallInfo */
--- a/test/compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,10 @@ * @test * @bug 8042235 * @summary redefining method used by multiple MethodHandles crashes VM + * @modules java.base/jdk.internal.org.objectweb.asm + * java.compiler + * java.instrument + * java.management * @compile -XDignore.symbol.file RedefineMethodUsedByMultipleMethodHandles.java * @run main RedefineMethodUsedByMultipleMethodHandles */
--- a/test/compiler/jsr292/VMAnonymousClasses.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/jsr292/VMAnonymousClasses.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -24,6 +24,8 @@ /** * @test * @bug 8058828 + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc * @run main/bootclasspath -Xbatch VMAnonymousClasses */
--- a/test/compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -35,6 +35,7 @@ * @test @bug 8025260 8016839 * @summary Ensure that AbstractMethodError and IllegalAccessError are thrown appropriately, not NullPointerException * + * @modules java.base/jdk.internal.org.objectweb.asm * @compile -XDignore.symbol.file TestAMEnotNPE.java ByteClassLoader.java p/C.java p/Dok.java p/E.java p/F.java p/I.java p/Tdirect.java p/Treflect.java * * @run main/othervm TestAMEnotNPE
--- a/test/compiler/oracle/CheckCompileCommandOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/oracle/CheckCompileCommandOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -31,6 +31,8 @@ * @bug 8055286 8056964 8059847 8069035 * @summary "Checks parsing of -XX:CompileCommand=option" * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main CheckCompileCommandOption */
--- a/test/compiler/oracle/TestCompileCommand.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/oracle/TestCompileCommand.java Thu Mar 26 16:36:56 2015 +0100 @@ -31,6 +31,8 @@ * @bug 8069389 * @summary "Regression tests of -XX:CompileCommand" * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main TestCompileCommand */
--- a/test/compiler/osr/TestOSRWithNonEmptyStack.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/osr/TestOSRWithNonEmptyStack.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -33,6 +33,7 @@ * @test * @bug 8051344 * @summary Force OSR compilation with non-empty stack at the OSR entry point. + * @modules java.base/jdk.internal.org.objectweb.asm * @compile -XDignore.symbol.file TestOSRWithNonEmptyStack.java * @run main/othervm -XX:CompileOnly=TestCase.test TestOSRWithNonEmptyStack */
--- a/test/compiler/profiling/spectrapredefineclass/Launcher.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/profiling/spectrapredefineclass/Launcher.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,9 @@ * @test * @bug 8038636 * @library /testlibrary + * @modules java.base/sun.misc + * java.instrument + * java.management * @build Agent * @run main ClassFileInstaller Agent * @run main Launcher
--- a/test/compiler/profiling/spectrapredefineclass_classloaders/Launcher.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/profiling/spectrapredefineclass_classloaders/Launcher.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,9 @@ * @test * @bug 8040237 * @library /testlibrary + * @modules java.base/sun.misc + * java.instrument + * java.management * @build Agent Test A B * @run main ClassFileInstaller Agent * @run main Launcher
--- a/test/compiler/rangechecks/TestRangeCheckSmearing.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rangechecks/TestRangeCheckSmearing.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8066103 * @summary C2's range check smearing allows out of bound array accesses * @library /testlibrary /../../test/lib /compiler/whitebox + * @modules java.base/sun.misc + * java.management * @build TestRangeCheckSmearing * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller com.oracle.java.testlibrary.Platform
--- a/test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify PrintPreciseRTMLockingStatistics on CPUs with * rtm support and on VM with rtm locking support, * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify PrintPreciseRTMLockingStatistics on CPUs without * rtm support and/or unsupported VM. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnSupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnSupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify RTMAbortRatio option processing on CPU with rtm * support and on VM with rtm locking support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMAbortRatioOptionOnSupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnUnsupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnUnsupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify RTMAbortRatio option processing on CPU without rtm * support or on VM that does not support rtm locking. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMAbortRatioOptionOnUnsupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestRTMAbortThresholdOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMAbortThresholdOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify processing of RTMAbortThreshold option. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMAbortThresholdOption * @run main/othervm TestRTMAbortThresholdOption */
--- a/test/compiler/rtm/cli/TestRTMLockingCalculationDelayOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMLockingCalculationDelayOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify processing of RTMLockingCalculationDelay option. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMLockingCalculationDelayOption * @run main/othervm TestRTMLockingCalculationDelayOption */
--- a/test/compiler/rtm/cli/TestRTMLockingThresholdOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMLockingThresholdOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify processing of RTMLockingThreshold option. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMLockingThresholdOption * @run main/othervm TestRTMLockingThresholdOption */
--- a/test/compiler/rtm/cli/TestRTMRetryCountOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMRetryCountOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify processing of RTMRetryCount option. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMRetryCountOption * @run main/othervm TestRTMRetryCountOption */
--- a/test/compiler/rtm/cli/TestRTMSpinLoopCountOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMSpinLoopCountOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify processing of RTMSpinLoopCount option. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMSpinLoopCountOption * @run main/othervm TestRTMSpinLoopCountOption */
--- a/test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnSupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnSupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify RTMTotalCountIncrRate option processing on CPU with * rtm support and on VM with rtm locking support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMTotalCountIncrRateOptionOnSupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -33,6 +33,8 @@ * @summary Verify RTMTotalCountIncrRate option processing on CPU without * rtm support and/or on VM without rtm locking support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMTotalCountIncrRateOptionOnUnsupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMDeoptOptionOnSupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMDeoptOptionOnSupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify UseRTMDeopt option processing on CPUs with rtm support * when rtm locking is supported by VM. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMDeoptOptionOnSupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMDeoptOptionOnUnsupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMDeoptOptionOnUnsupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify UseRTMDeopt option processing on CPUs without rtm support * or on VMs without rtm locking support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMDeoptOptionOnUnsupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnSupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnSupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify UseRTMForStackLocks option processing on CPU with * rtm support when VM supports rtm locking. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMForStackLocksOptionOnSupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnUnsupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnUnsupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify UseRTMForStackLocks option processing on CPUs without * rtm support and/or on VMs without rtm locking support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMForStackLocksOptionOnUnsupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMLockingOptionOnSupportedConfig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMLockingOptionOnSupportedConfig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify UseRTMLocking option processing on CPU with rtm support and * on VM with rtm-locking support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMLockingOptionOnSupportedConfig * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedCPU.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedCPU.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify UseRTMLocking option processing on CPU without * rtm support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMLockingOptionOnUnsupportedCPU * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedVM.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedVM.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify UseRTMLocking option processing on CPU with rtm support * in case when VM should not support this option. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMLockingOptionOnUnsupportedVM * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify processing of UseRTMLocking and UseBiasedLocking * options combination on CPU and VM with rtm support. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMLockingOptionWithBiasedLocking * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/cli/TestUseRTMXendForLockBusyOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/cli/TestUseRTMXendForLockBusyOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify processing of UseRTMXendForLockBusy option. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMXendForLockBusyOption * @run main/othervm TestUseRTMXendForLockBusyOption */
--- a/test/compiler/rtm/locking/TestRTMAbortRatio.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMAbortRatio.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that RTMAbortRatio affects amount of aborts before * deoptimization. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMAbortRatio * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMAbortThreshold.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMAbortThreshold.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that RTMAbortThreshold option affects * amount of aborts after which abort ratio is calculated. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMAbortThreshold * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMAfterNonRTMDeopt.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMAfterNonRTMDeopt.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -30,6 +30,8 @@ * method's RTM state. And if we don't use RTMDeopt, then * RTM state remain the same after such deoptimization. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMAfterNonRTMDeopt * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMDeoptOnHighAbortRatio.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMDeoptOnHighAbortRatio.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that on high abort ratio method will be recompiled * without rtm locking. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMDeoptOnHighAbortRatio * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMDeoptOnLowAbortRatio.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMDeoptOnLowAbortRatio.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify that on low abort ratio method will be recompiled. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMDeoptOnLowAbortRatio * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMLockingCalculationDelay.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMLockingCalculationDelay.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that RTMLockingCalculationDelay affect when * abort ratio calculation is started. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMLockingCalculationDelay * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMLockingThreshold.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMLockingThreshold.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that RTMLockingThreshold affects rtm state transition * ProfileRTM => UseRTM. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMLockingThreshold * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMRetryCount.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMRetryCount.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify that RTMRetryCount affects actual amount of retries. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMRetryCount * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMSpinLoopCount.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMSpinLoopCount.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that RTMSpinLoopCount affects time spent * between locking attempts. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMSpinLoopCount * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestRTMTotalCountIncrRate.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestRTMTotalCountIncrRate.java Thu Mar 26 16:36:56 2015 +0100 @@ -28,6 +28,8 @@ * @summary Verify that RTMTotalCountIncrRate option affects * RTM locking statistics. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestRTMTotalCountIncrRate * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestUseRTMAfterLockInflation.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestUseRTMAfterLockInflation.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that rtm locking is used for stack locks before * inflation and after it used for inflated locks. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMAfterLockInflation * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestUseRTMDeopt.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestUseRTMDeopt.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that UseRTMDeopt affects uncommon trap installation in * copmpiled methods with synchronized block. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMDeopt * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify that rtm locking is used for inflated locks. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMForInflatedLocks * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestUseRTMForStackLocks.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestUseRTMForStackLocks.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8031320 * @summary Verify that rtm locking is used for stack locks. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMForStackLocks * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/locking/TestUseRTMXendForLockBusy.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/locking/TestUseRTMXendForLockBusy.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that UseRTMXendForLockBusy option affects * method behaviour if lock is busy. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMXendForLockBusy * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/method_options/TestNoRTMLockElidingOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/method_options/TestNoRTMLockElidingOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Verify that NoRTMLockEliding option could be applied to * specified method and that such method will not use rtm. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestNoRTMLockElidingOption * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/method_options/TestUseRTMLockElidingOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/method_options/TestUseRTMLockElidingOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -29,6 +29,8 @@ * specified method and that such method will not be deoptimized * on high abort ratio. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestUseRTMLockElidingOption * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/rtm/print/TestPrintPreciseRTMLockingStatistics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/rtm/print/TestPrintPreciseRTMLockingStatistics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -30,6 +30,8 @@ * different types. Test also verify that VM output does not * contain rtm locking statistics when it should not. * @library /testlibrary /../../test/lib /compiler/testlibrary + * @modules java.base/sun.misc + * java.management * @build TestPrintPreciseRTMLockingStatistics * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/runtime/8010927/Test8010927.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/runtime/8010927/Test8010927.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,7 @@ * @bug 8010927 * @summary Kitchensink crashed with SIGSEGV, Problematic frame: v ~StubRoutines::checkcast_arraycopy * @library /../../test/lib /testlibrary + * @modules java.base/sun.misc * @build Test8010927 * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/startup/NumCompilerThreadsCheck.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/startup/NumCompilerThreadsCheck.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8034775 * @summary Ensures correct minimal number of compiler threads (provided by -XX:CICompilerCount=) * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/compiler/startup/SmallCodeCacheStartup.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/startup/SmallCodeCacheStartup.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * to initialize all compiler threads. The option -Xcomp gives the VM more time to * trigger the old bug. * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*; import static com.oracle.java.testlibrary.Asserts.assertTrue;
--- a/test/compiler/startup/StartupOutput.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/startup/StartupOutput.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8026949 * @summary Test ensures correct VM output during startup * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/compiler/tiered/ConstantGettersTransitionsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/tiered/ConstantGettersTransitionsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ /** * @test ConstantGettersTransitionsTest * @library /testlibrary /../../test/lib /compiler/whitebox + * @modules java.base/sun.misc + * java.management * @build TransitionsTestExecutor ConstantGettersTransitionsTest * @run main ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm/timeout=240 -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
--- a/test/compiler/tiered/LevelTransitionTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/tiered/LevelTransitionTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -29,6 +29,8 @@ /** * @test LevelTransitionTest * @library /testlibrary /../../test/lib /compiler/whitebox + * @modules java.base/sun.misc + * java.management * @ignore 8067651 * @build TransitionsTestExecutor LevelTransitionTest * @run main ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/tiered/NonTieredLevelsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/tiered/NonTieredLevelsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,7 @@ /** * @test NonTieredLevelsTest * @library /testlibrary /../../test/lib /compiler/whitebox + * @modules java.management * @build NonTieredLevelsTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/tiered/TieredLevelsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/tiered/TieredLevelsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -24,6 +24,7 @@ /** * @test TieredLevelsTest * @library /testlibrary /../../test/lib /compiler/whitebox + * @modules java.management * @build TieredLevelsTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/types/correctness/CorrectnessTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/types/correctness/CorrectnessTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test CorrectnessTest * @bug 8038418 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @ignore 8066173 * @compile execution/TypeConflict.java execution/TypeProfile.java * execution/MethodHandleDelegate.java
--- a/test/compiler/types/correctness/OffTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/types/correctness/OffTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test CorrectnessTest * @bug 8038418 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @ignore 8066173 * @compile execution/TypeConflict.java execution/TypeProfile.java * execution/MethodHandleDelegate.java
--- a/test/compiler/uncommontrap/TestUnstableIfTrap.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/uncommontrap/TestUnstableIfTrap.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -41,6 +41,11 @@ * @test * @bug 8030976 8059226 * @library /testlibrary /compiler/testlibrary /../../test/lib + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build TestUnstableIfTrap com.oracle.java.testlibrary.* uncommontrap.Verifier * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/unsafe/GetUnsafeObjectG1PreBarrier.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/unsafe/GetUnsafeObjectG1PreBarrier.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test * @bug 8016474 * @summary The bug only happens with C1 and G1 using a different ObjectAlignmentInBytes than KlassAlignmentInBytes (which is 8) + * @modules java.base/sun.misc * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:ObjectAlignmentInBytes=32 GetUnsafeObjectG1PreBarrier */
--- a/test/compiler/unsafe/UnsafeRaw.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/unsafe/UnsafeRaw.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8058744 * @summary Invalid pattern-matching of address computations in raw unsafe * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -Xbatch UnsafeRaw */
--- a/test/compiler/whitebox/AllocationCodeBlobTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/AllocationCodeBlobTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -35,6 +35,7 @@ * @test AllocationCodeBlobTest * @bug 8059624 8064669 * @library /testlibrary /../../test/lib + * @modules java.management * @build AllocationCodeBlobTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/ClearMethodStateTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/ClearMethodStateTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,7 @@ * @test ClearMethodStateTest * @bug 8006683 8007288 8022832 * @library /testlibrary /../../test/lib + * @modules java.management * @build ClearMethodStateTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/DeoptimizeAllTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/DeoptimizeAllTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test DeoptimizeAllTest * @bug 8006683 8007288 8022832 * @library /testlibrary /../../test/lib + * @modules java.management * @build DeoptimizeAllTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/DeoptimizeFramesTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/DeoptimizeFramesTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test DeoptimizeFramesTest * @bug 8028595 * @library /testlibrary /../../test/lib + * @modules java.management * @build DeoptimizeFramesTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/DeoptimizeMethodTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/DeoptimizeMethodTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test DeoptimizeMethodTest * @bug 8006683 8007288 8022832 * @library /testlibrary /../../test/lib + * @modules java.management * @build DeoptimizeMethodTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/DeoptimizeMultipleOSRTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/DeoptimizeMultipleOSRTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -29,6 +29,7 @@ * @test DeoptimizeMultipleOSRTest * @bug 8061817 * @library /testlibrary /../../test/lib + * @modules java.management * @build DeoptimizeMultipleOSRTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/EnqueueMethodForCompilationTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/EnqueueMethodForCompilationTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test EnqueueMethodForCompilationTest * @bug 8006683 8007288 8022832 * @library /testlibrary /../../test/lib + * @modules java.management * @build EnqueueMethodForCompilationTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/ForceNMethodSweepTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/ForceNMethodSweepTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -35,6 +35,7 @@ * @test * @bug 8059624 8064669 * @library /testlibrary /../../test/lib + * @modules java.management * @build ForceNMethodSweepTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/GetCodeHeapEntriesTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/GetCodeHeapEntriesTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -34,6 +34,7 @@ * @test GetCodeHeapEntriesTest * @bug 8059624 * @library /testlibrary /../../test/lib + * @modules java.management * @build GetCodeHeapEntriesTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/GetNMethodTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/GetNMethodTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -30,6 +30,7 @@ * @test GetNMethodTest * @bug 8038240 * @library /testlibrary /../../test/lib + * @modules java.management * @build GetNMethodTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/IsMethodCompilableTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/IsMethodCompilableTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test IsMethodCompilableTest * @bug 8007270 8006683 8007288 8022832 * @library /testlibrary /../../test/lib /testlibrary/com/oracle/java/testlibrary + * @modules java.base/sun.misc + * java.management * @build IsMethodCompilableTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/LockCompilationTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/LockCompilationTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test LockCompilationTest * @bug 8059624 * @library /testlibrary /../../test/lib + * @modules java.management * @build LockCompilationTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/MakeMethodNotCompilableTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/MakeMethodNotCompilableTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test MakeMethodNotCompilableTest * @bug 8012322 8006683 8007288 8022832 * @library /testlibrary /../../test/lib + * @modules java.management * @build MakeMethodNotCompilableTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/SetDontInlineMethodTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/SetDontInlineMethodTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test SetDontInlineMethodTest * @bug 8006683 8007288 8022832 * @library /testlibrary /../../test/lib + * @modules java.management * @build SetDontInlineMethodTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/compiler/whitebox/SetForceInlineMethodTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/compiler/whitebox/SetForceInlineMethodTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,7 @@ * @test SetForceInlineMethodTest * @bug 8006683 8007288 8022832 * @library /testlibrary /../../test/lib + * @modules java.management * @build SetForceInlineMethodTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/6581734/Test6581734.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/6581734/Test6581734.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2015, 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 @@ -26,6 +26,7 @@ * @bug 6581734 * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null" * @summary CMS Old Gen's collection usage is zero after GC which is incorrect + * @modules java.management * @run main/othervm -Xmx512m -verbose:gc -XX:+UseConcMarkSweepGC Test6581734 * */
--- a/test/gc/6941923/Test6941923.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/6941923/Test6941923.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -26,6 +26,8 @@ * @bug 6941923 * @summary test flags for gc log rotation * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm/timeout=600 Test6941923 * */
--- a/test/gc/7072527/TestFullGCCount.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/7072527/TestFullGCCount.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2015, 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 @@ -25,6 +25,7 @@ * @test TestFullGCount.java * @bug 7072527 * @summary CMS: JMM GC counters overcount in some cases + * @modules java.management * @run main/othervm -XX:+PrintGC TestFullGCCount */ import java.util.*;
--- a/test/gc/TestCardTablePageCommits.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/TestCardTablePageCommits.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2014, 2015, 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 @@ -32,6 +32,8 @@ * @bug 8059066 * @summary Tests that the card table does not commit the same page twice * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver TestCardTablePageCommits */ public class TestCardTablePageCommits {
--- a/test/gc/TestGCLogRotationViaJcmd.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/TestGCLogRotationViaJcmd.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 7090324 * @summary test for gc log rotation via jcmd * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -Xloggc:test.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=3 TestGCLogRotationViaJcmd * */
--- a/test/gc/TestObjectAlignment.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/TestObjectAlignment.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8021823 * @summary G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm TestObjectAlignment -Xmx20M -XX:+ExplicitGCInvokesConcurrent -XX:+IgnoreUnrecognizedVMOptions -XX:ObjectAlignmentInBytes=8 * @run main/othervm TestObjectAlignment -Xmx20M -XX:+ExplicitGCInvokesConcurrent -XX:+IgnoreUnrecognizedVMOptions -XX:ObjectAlignmentInBytes=16 * @run main/othervm TestObjectAlignment -Xmx20M -XX:+ExplicitGCInvokesConcurrent -XX:+IgnoreUnrecognizedVMOptions -XX:ObjectAlignmentInBytes=32
--- a/test/gc/TestSmallHeap.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/TestSmallHeap.java Thu Mar 26 16:36:56 2015 +0100 @@ -29,6 +29,7 @@ * @requires vm.compMode != "Xcomp" * @summary Verify that starting the VM with a small heap works * @library /testlibrary /../../test/lib + * @modules java.management/sun.management * @build TestSmallHeap * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseParallelGC TestSmallHeap
--- a/test/gc/TestSoftReferencesBehaviorOnOOME.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/TestSoftReferencesBehaviorOnOOME.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @key gc * @summary Tests that all SoftReferences has been cleared at time of OOM. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @ignore 8073669 * @build TestSoftReferencesBehaviorOnOOME * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 512 2k
--- a/test/gc/TestVerifyDuringStartup.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/TestVerifyDuringStartup.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8010463 8011343 8011898 * @summary Simple test run with -XX:+VerifyDuringStartup -XX:-UseTLAB to verify 8010463 * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.JDKToolFinder;
--- a/test/gc/TestVerifySilently.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/TestVerifySilently.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8032771 * @summary Test silent verification. * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/arguments/TestArrayAllocatorMallocLimit.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestArrayAllocatorMallocLimit.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8054823 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver TestArrayAllocatorMallocLimit */
--- a/test/gc/arguments/TestCMSHeapSizeFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestCMSHeapSizeFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006088 * @summary Tests argument processing for initial and maximum heap size for the CMS collector * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestCMSHeapSizeFlags TestMaxHeapSizeTools * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/arguments/TestCompressedClassFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestCompressedClassFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -29,6 +29,8 @@ * @summary Tests that VM prints a warning when -XX:CompressedClassSpaceSize * is used together with -XX:-UseCompressedClassPointers * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestCompressedClassFlags { public static void main(String[] args) throws Exception {
--- a/test/gc/arguments/TestDynMaxHeapFreeRatio.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestDynMaxHeapFreeRatio.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -31,6 +31,7 @@ * @bug 8028391 * @summary Verify that MaxHeapFreeRatio flag is manageable * @library /testlibrary + * @modules java.management * @run main TestDynMaxHeapFreeRatio * @run main/othervm -XX:MinHeapFreeRatio=0 -XX:MaxHeapFreeRatio=100 TestDynMaxHeapFreeRatio * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 -XX:-UseAdaptiveSizePolicy TestDynMaxHeapFreeRatio
--- a/test/gc/arguments/TestDynMinHeapFreeRatio.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestDynMinHeapFreeRatio.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,7 @@ * @bug 8028391 * @summary Verify that MinHeapFreeRatio flag is manageable * @library /testlibrary + * @modules java.management * @run main TestDynMinHeapFreeRatio * @run main/othervm -XX:MinHeapFreeRatio=0 -XX:MaxHeapFreeRatio=100 TestDynMinHeapFreeRatio * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 -XX:-UseAdaptiveSizePolicy TestDynMinHeapFreeRatio
--- a/test/gc/arguments/TestG1ConcRefinementThreads.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestG1ConcRefinementThreads.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8047976 * @summary Tests argument processing for G1ConcRefinementThreads * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/gc/arguments/TestG1HeapRegionSize.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestG1HeapRegionSize.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -26,6 +26,7 @@ * @key gc * @bug 8021879 * @summary Verify that the flag G1HeapRegionSize is updated properly + * @modules java.management/sun.management * @run main/othervm -Xmx64m TestG1HeapRegionSize 1048576 * @run main/othervm -XX:G1HeapRegionSize=2m -Xmx64m TestG1HeapRegionSize 2097152 * @run main/othervm -XX:G1HeapRegionSize=3m -Xmx64m TestG1HeapRegionSize 2097152
--- a/test/gc/arguments/TestG1HeapSizeFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestG1HeapSizeFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006088 * @summary Tests argument processing for initial and maximum heap size for the G1 collector * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestG1HeapSizeFlags TestMaxHeapSizeTools * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/arguments/TestG1PercentageOptions.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestG1PercentageOptions.java Thu Mar 26 16:36:56 2015 +0100 @@ -27,6 +27,8 @@ * @bug 8068942 * @summary Test argument processing of various percentage options * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver TestG1PercentageOptions */
--- a/test/gc/arguments/TestHeapFreeRatio.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestHeapFreeRatio.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8025661 * @summary Test parsing of -Xminf and -Xmaxf * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm TestHeapFreeRatio */
--- a/test/gc/arguments/TestInitialTenuringThreshold.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestInitialTenuringThreshold.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8014765 * @summary Tests argument processing for initial tenuring threshold * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm TestInitialTenuringThreshold * @author thomas.schatzl@oracle.com */ @@ -72,4 +74,4 @@ runWithThresholds(16, 8, true); runWithThresholds(8, 17, true); } -} \ No newline at end of file +}
--- a/test/gc/arguments/TestMaxNewSize.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestMaxNewSize.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * @summary Make sure that MaxNewSize always has a useful value after argument * processing. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestMaxNewSize * @run main TestMaxNewSize -XX:+UseSerialGC * @run main TestMaxNewSize -XX:+UseParallelGC
--- a/test/gc/arguments/TestMinInitialErgonomics.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestMinInitialErgonomics.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006088 * @summary Test ergonomics decisions related to minimum and initial heap size. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestMinInitialErgonomics TestMaxHeapSizeTools * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/arguments/TestObjectTenuringFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestObjectTenuringFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @summary Tests argument processing for NeverTenure, AlwaysTenure, * and MaxTenuringThreshold * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestObjectTenuringFlags FlagsValue * @run main/othervm TestObjectTenuringFlags */
--- a/test/gc/arguments/TestParallelGCThreads.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestParallelGCThreads.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8059527 * @summary Tests argument processing for ParallelGCThreads * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver TestParallelGCThreads */
--- a/test/gc/arguments/TestParallelHeapSizeFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestParallelHeapSizeFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * @summary Tests argument processing for initial and maximum heap size for the * parallel collectors. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestParallelHeapSizeFlags TestMaxHeapSizeTools * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/arguments/TestSerialHeapSizeFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestSerialHeapSizeFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006088 * @summary Tests argument processing for initial and maximum heap size for the Serial collector * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestSerialHeapSizeFlags TestMaxHeapSizeTools * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/arguments/TestSurvivorAlignmentInBytesOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestSurvivorAlignmentInBytesOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -34,6 +34,8 @@ * & vm.opt.UnlockExperimentalVMOptions == null * & (vm.opt.IgnoreUnrecognizedVMOptions == null * | vm.opt.IgnoreUnrecognizedVMOptions == "false") + * @modules java.base/sun.misc + * java.management * @run main TestSurvivorAlignmentInBytesOption */ public class TestSurvivorAlignmentInBytesOption {
--- a/test/gc/arguments/TestUnrecognizedVMOptionsHandling.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestUnrecognizedVMOptionsHandling.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8017611 * @summary Tests handling unrecognized VM options * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm TestUnrecognizedVMOptionsHandling */
--- a/test/gc/arguments/TestUseCompressedOopsErgo.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestUseCompressedOopsErgo.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8010722 * @summary Tests ergonomics for UseCompressedOops. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management/sun.management * @build TestUseCompressedOopsErgo TestUseCompressedOopsErgoTools * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/arguments/TestUseNUMAInterleaving.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/arguments/TestUseNUMAInterleaving.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 8059614 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver TestUseNUMAInterleaving */ import com.oracle.java.testlibrary.ProcessTools;
--- a/test/gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @key gc * @bug 8049831 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestCMSClassUnloadingEnabledHWM * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/class_unloading/TestG1ClassUnloadingHWM.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/class_unloading/TestG1ClassUnloadingHWM.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @key gc * @bug 8049831 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestG1ClassUnloadingHWM * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/concurrentMarkSweep/GuardShrinkWarning.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/concurrentMarkSweep/GuardShrinkWarning.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * @key gc * @key regression * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm GuardShrinkWarning * @author jon.masamitsu@oracle.com */
--- a/test/gc/defnew/HeapChangeLogging.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/defnew/HeapChangeLogging.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test HeapChangeLogging.java * @bug 8027440 * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build HeapChangeLogging * @summary Allocate to get a promotion failure and verify that that heap change logging is present. * @run main HeapChangeLogging
--- a/test/gc/g1/Test2GbHeap.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/Test2GbHeap.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @key gc * @key regression * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.util.ArrayList;
--- a/test/gc/g1/TestEagerReclaimHumongousRegions.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestEagerReclaimHumongousRegions.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * up the heap with humongous objects that should be eagerly reclaimable to avoid Full GC. * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.util.regex.Pattern;
--- a/test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * mark bitmaps at reclaim. * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.util.ArrayList;
--- a/test/gc/g1/TestEagerReclaimHumongousRegionsWithRefs.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestEagerReclaimHumongousRegionsWithRefs.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -31,6 +31,8 @@ * should still be eagerly reclaimable to avoid Full GC. * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.util.regex.Pattern;
--- a/test/gc/g1/TestG1TraceEagerReclaimHumongousObjects.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestG1TraceEagerReclaimHumongousObjects.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * includes the expected necessary messages. * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.ProcessTools;
--- a/test/gc/g1/TestGCLogMessages.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestGCLogMessages.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * includes the expected necessary messages. * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.ProcessTools;
--- a/test/gc/g1/TestHumongousAllocInitialMark.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestHumongousAllocInitialMark.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -26,6 +26,8 @@ * @bug 7168848 * @summary G1: humongous object allocations should initiate marking cycles when necessary * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/gc/g1/TestHumongousCodeCacheRoots.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestHumongousCodeCacheRoots.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @key gc * @bug 8027756 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestHumongousCodeCacheRoots * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/g1/TestHumongousShrinkHeap.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestHumongousShrinkHeap.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,7 @@ * @summary Verify that heap shrinks after GC in the presence of fragmentation * due to humongous objects * @library /testlibrary + * @modules java.management/sun.management * @run main/othervm -XX:-ExplicitGCInvokesConcurrent -XX:MinHeapFreeRatio=10 * -XX:MaxHeapFreeRatio=12 -XX:+UseG1GC -XX:G1HeapRegionSize=1M -verbose:gc * TestHumongousShrinkHeap
--- a/test/gc/g1/TestPrintGCDetails.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestPrintGCDetails.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * @key gc * @key regression * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.ProcessTools;
--- a/test/gc/g1/TestPrintRegionRememberedSetInfo.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestPrintRegionRememberedSetInfo.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8014240 * @summary Test output of G1PrintRegionRememberedSetInfo * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main TestPrintRegionRememberedSetInfo * @author thomas.schatzl@oracle.com */
--- a/test/gc/g1/TestShrinkAuxiliaryData00.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkAuxiliaryData00.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Checks that decommitment occurs for JVM with different * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData00 * @run driver/timeout=720 TestShrinkAuxiliaryData00 */
--- a/test/gc/g1/TestShrinkAuxiliaryData05.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkAuxiliaryData05.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values * @requires vm.gc=="G1" | vm.gc=="null" * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData05 * @run driver/timeout=720 TestShrinkAuxiliaryData05 */
--- a/test/gc/g1/TestShrinkAuxiliaryData10.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkAuxiliaryData10.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values * @requires vm.gc=="G1" | vm.gc=="null" * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData10 * @run driver/timeout=720 TestShrinkAuxiliaryData10 */
--- a/test/gc/g1/TestShrinkAuxiliaryData15.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkAuxiliaryData15.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values * @requires vm.gc=="G1" | vm.gc=="null" * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData15 * @run driver/timeout=720 TestShrinkAuxiliaryData15 */
--- a/test/gc/g1/TestShrinkAuxiliaryData20.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkAuxiliaryData20.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values * @requires vm.gc=="G1" | vm.gc=="null" * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData20 * @run driver/timeout=720 TestShrinkAuxiliaryData20 */
--- a/test/gc/g1/TestShrinkAuxiliaryData25.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkAuxiliaryData25.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values * @requires vm.gc=="G1" | vm.gc=="null" * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData25 * @run driver/timeout=720 TestShrinkAuxiliaryData25 */
--- a/test/gc/g1/TestShrinkAuxiliaryData30.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkAuxiliaryData30.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values * @requires vm.gc=="G1" | vm.gc=="null" * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData30 * @run driver/timeout=720 TestShrinkAuxiliaryData30 */
--- a/test/gc/g1/TestShrinkDefragmentedHeap.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestShrinkDefragmentedHeap.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -32,6 +32,8 @@ * 3. invoke gc and check that memory returned to the system (amount of committed memory got down) * * @library /testlibrary + * @modules java.base/sun.misc + * java.management/sun.management */ import java.lang.management.ManagementFactory; import java.lang.management.MemoryUsage;
--- a/test/gc/g1/TestStringDeduplicationAgeThreshold.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringDeduplicationAgeThreshold.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8029075 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestStringDeduplicationAgeThreshold {
--- a/test/gc/g1/TestStringDeduplicationFullGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringDeduplicationFullGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8029075 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestStringDeduplicationFullGC {
--- a/test/gc/g1/TestStringDeduplicationInterned.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringDeduplicationInterned.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8029075 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestStringDeduplicationInterned {
--- a/test/gc/g1/TestStringDeduplicationPrintOptions.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringDeduplicationPrintOptions.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8029075 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestStringDeduplicationPrintOptions {
--- a/test/gc/g1/TestStringDeduplicationTableRehash.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringDeduplicationTableRehash.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8029075 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestStringDeduplicationTableRehash {
--- a/test/gc/g1/TestStringDeduplicationTableResize.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringDeduplicationTableResize.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8029075 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestStringDeduplicationTableResize {
--- a/test/gc/g1/TestStringDeduplicationYoungGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringDeduplicationYoungGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8029075 * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestStringDeduplicationYoungGC {
--- a/test/gc/g1/TestStringSymbolTableStats.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestStringSymbolTableStats.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @summary Ensure that the G1TraceStringSymbolTableScrubbing prints the expected message. * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.ProcessTools;
--- a/test/gc/g1/TestSummarizeRSetStats.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestSummarizeRSetStats.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test TestSummarizeRSetStats.java * @bug 8013895 * @library /testlibrary + * @modules java.base/sun.misc + * java.management/sun.management * @build TestSummarizeRSetStatsTools TestSummarizeRSetStats * @summary Verify output of -XX:+G1SummarizeRSetStats * @run main TestSummarizeRSetStats
--- a/test/gc/g1/TestSummarizeRSetStatsPerRegion.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestSummarizeRSetStatsPerRegion.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test TestSummarizeRSetStatsPerRegion.java * @bug 8014078 * @library /testlibrary + * @modules java.base/sun.misc + * java.management/sun.management * @build TestSummarizeRSetStatsTools TestSummarizeRSetStatsPerRegion * @summary Verify output of -XX:+G1SummarizeRSetStats in regards to per-region type output * @run main TestSummarizeRSetStatsPerRegion
--- a/test/gc/g1/TestSummarizeRSetStatsThreads.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/g1/TestSummarizeRSetStatsThreads.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * refinement threads do not crash the VM. * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management/sun.management */ import java.util.regex.Matcher;
--- a/test/gc/logging/TestGCId.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/logging/TestGCId.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Ensure that the GCId is logged * @key gc * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.ProcessTools;
--- a/test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @bug 8004924 * @summary Checks that jmap -heap contains the flag CompressedClassSpaceSize * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:CompressedClassSpaceSize=50m CompressedClassSpaceSizeInJmapHeap */
--- a/test/gc/metaspace/TestCapacityUntilGCWrapAround.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/metaspace/TestCapacityUntilGCWrapAround.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @key gc * @bug 8049831 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestCapacityUntilGCWrapAround * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/metaspace/TestMetaspaceMemoryPool.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/metaspace/TestMetaspaceMemoryPool.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -31,6 +31,8 @@ * @summary Tests that a MemoryPoolMXBeans is created for metaspace and that a * MemoryManagerMXBean is created. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops TestMetaspaceMemoryPool * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:MaxMetaspaceSize=60m TestMetaspaceMemoryPool * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops -XX:+UseCompressedClassPointers TestMetaspaceMemoryPool
--- a/test/gc/metaspace/TestMetaspacePerfCounters.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/metaspace/TestMetaspacePerfCounters.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -33,7 +33,10 @@ * @library /testlibrary * @summary Tests that performance counters for metaspace and compressed class * space exists and works. - * + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedClassPointers -XX:+UsePerfData -XX:+UseSerialGC TestMetaspacePerfCounters * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedClassPointers -XX:+UsePerfData -XX:+UseParallelGC -XX:+UseParallelOldGC TestMetaspacePerfCounters * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedClassPointers -XX:+UsePerfData -XX:+UseG1GC TestMetaspacePerfCounters
--- a/test/gc/metaspace/TestMetaspaceSizeFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/metaspace/TestMetaspaceSizeFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -31,6 +31,8 @@ * @bug 8024650 * @summary Test that metaspace size flags can be set correctly * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ public class TestMetaspaceSizeFlags { public static final long K = 1024L;
--- a/test/gc/metaspace/TestPerfCountersAndMemoryPools.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/metaspace/TestPerfCountersAndMemoryPools.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -33,6 +33,9 @@ * @requires vm.gc=="Serial" | vm.gc=="null" * @summary Tests that a MemoryPoolMXBeans and PerfCounters for metaspace * report the same data. + * @modules java.base/sun.misc + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedKlassPointers -XX:+UseSerialGC -XX:+UsePerfData -Xint TestPerfCountersAndMemoryPools * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops -XX:+UseCompressedKlassPointers -XX:+UseSerialGC -XX:+UsePerfData -Xint TestPerfCountersAndMemoryPools */
--- a/test/gc/parallelScavenge/AdaptiveGCBoundary.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/parallelScavenge/AdaptiveGCBoundary.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * @key gc * @key regression * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm AdaptiveGCBoundary * @author jon.masamitsu@oracle.com */
--- a/test/gc/startup_warnings/TestCMS.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestCMS.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006398 * @summary Test that CMS does not print a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestDefNewCMS.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestDefNewCMS.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8065972 * @summary Test that the unsupported DefNew+CMS combination does not start * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestDefaultMaxRAMFraction.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestDefaultMaxRAMFraction.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8021967 * @summary Test that the deprecated TestDefaultMaxRAMFraction flag print a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestG1.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestG1.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006398 * @summary Test that the G1 collector does not print a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestNoParNew.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestNoParNew.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8065972 * @summary Test that specifying -XX:-UseParNewGC on the command line logs a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestParNewCMS.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestParNewCMS.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8065972 * @summary Test that specifying -XX:+UseParNewGC on the command line logs a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestParNewSerialOld.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestParNewSerialOld.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8065972 * @summary Test that the unsupported ParNew+SerialOld combination does not start * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestParallelGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestParallelGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006398 * @summary Test that ParallelGC does not print a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestParallelScavengeSerialOld.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestParallelScavengeSerialOld.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006398 * @summary Test that the ParallelScavenge+SerialOld combination does not print a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/startup_warnings/TestSerialGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/startup_warnings/TestSerialGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8006398 * @summary Test that SerialGC does not print a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/gc/survivorAlignment/TestAllocationInEden.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/survivorAlignment/TestAllocationInEden.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify that object's alignment in eden space is not affected by * SurvivorAlignmentInBytes option. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestAllocationInEden SurvivorAlignmentTestMain AlignmentHelper * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/survivorAlignment/TestPromotionFromEdenToTenured.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/survivorAlignment/TestPromotionFromEdenToTenured.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify that objects promoted from eden space to tenured space during * full GC are not aligned to SurvivorAlignmentInBytes value. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestPromotionFromEdenToTenured SurvivorAlignmentTestMain * AlignmentHelper * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify that objects promoted from survivor space to tenured space * during full GC are not aligned to SurvivorAlignmentInBytes value. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestPromotionFromSurvivorToTenuredAfterFullGC * SurvivorAlignmentTestMain AlignmentHelper * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * when their age exceeded tenuring threshold are not aligned to * SurvivorAlignmentInBytes value. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestPromotionFromSurvivorToTenuredAfterMinorGC * SurvivorAlignmentTestMain AlignmentHelper * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/gc/survivorAlignment/TestPromotionToSurvivor.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/survivorAlignment/TestPromotionToSurvivor.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Verify that objects promoted from eden space to survivor space after * minor GC are aligned to SurvivorAlignmentInBytes. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestPromotionToSurvivor * SurvivorAlignmentTestMain AlignmentHelper * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/gc/whitebox/TestConcMarkCycleWB.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/whitebox/TestConcMarkCycleWB.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,10 @@ * @bug 8065579 * @requires vm.gc=="null" | vm.gc=="G1" * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.WhiteBox TestConcMarkCycleWB * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/gc/whitebox/TestWBGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/gc/whitebox/TestWBGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8055098 * @summary Test verify that WB methods isObjectInOldGen and youngGC works correctly. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestWBGC * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run driver TestWBGC
--- a/test/runtime/6819213/TestBootNativeLibraryPath.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/6819213/TestBootNativeLibraryPath.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2015, 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 @@ -24,6 +24,7 @@ /* * @test TestBootNativeLibraryPath.java * @bug 6819213 + * @modules java.compiler * @compile -XDignore.symbol.file TestBootNativeLibraryPath.java * @summary verify sun.boot.native.library.path is expandable on 32 bit systems * @run main TestBootNativeLibraryPath
--- a/test/runtime/8003720/Test8003720.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/8003720/Test8003720.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -26,6 +26,8 @@ * @test * @bug 8003720 * @summary Method in interpreter stack frame can be deallocated + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc * @compile -XDignore.symbol.file Victim.java * @run main/othervm -Xverify:all -Xint Test8003720 */
--- a/test/runtime/8026365/InvokeSpecialAnonTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/8026365/InvokeSpecialAnonTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @summary Test invokespecial of host class method from an anonymous class * @author Robert Field * @library /testlibrary + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc * @compile -XDignore.symbol.file InvokeSpecialAnonTest.java * @run main ClassFileInstaller InvokeSpecialAnonTest AnonTester * @run main/othervm -Xbootclasspath/a:. -Xverify:all InvokeSpecialAnonTest
--- a/test/runtime/BadObjectClass/BootstrapRedefine.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/BadObjectClass/BootstrapRedefine.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @bug 6583051 * @summary Give error if java.lang.Object has been incompatibly overridden on the bootpath * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile Object.java * @run main BootstrapRedefine */
--- a/test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrs.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrs.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8003424 * @summary Testing UseCompressedClassPointers with CDS * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main CDSCompressedKPtrs */
--- a/test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrsError.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CDSCompressedKPtrs/CDSCompressedKPtrsError.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8003424 * @summary Test that cannot use CDS if UseCompressedClassPointers is turned off. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main CDSCompressedKPtrsError */
--- a/test/runtime/CDSCompressedKPtrs/XShareAuto.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CDSCompressedKPtrs/XShareAuto.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8005933 * @summary Test that -Xshare:auto uses CDS when explicitly specified with -server. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main XShareAuto */
--- a/test/runtime/ClassFile/JsrRewriting.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/ClassFile/JsrRewriting.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2015, 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 @@ -34,6 +34,9 @@ * @bug 7149464 * @key cte_test * @library /testlibrary + * @modules java.base/sun.misc + * java.desktop + * java.management * @run main JsrRewriting */
--- a/test/runtime/ClassFile/OomWhileParsingRepeatedJsr.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/ClassFile/OomWhileParsingRepeatedJsr.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2015, 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 @@ -34,6 +34,9 @@ * @bug 7123945 * @bug 8016029 * @library /testlibrary + * @modules java.base/sun.misc + * java.desktop + * java.management * @run main OomWhileParsingRepeatedJsr */
--- a/test/runtime/ClassFile/UnsupportedClassFileVersion.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/ClassFile/UnsupportedClassFileVersion.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -24,6 +24,9 @@ /* * @test * @library /testlibrary + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc + * java.management * @compile -XDignore.symbol.file UnsupportedClassFileVersion.java * @run main UnsupportedClassFileVersion */
--- a/test/runtime/CommandLine/BooleanFlagWithInvalidValue.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/BooleanFlagWithInvalidValue.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8006298 * @summary Setting an invalid value for a bool argument should result in a useful error message * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CommandLine/CompilerConfigFileWarning.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/CompilerConfigFileWarning.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 7167142 * @summary Warn if unused .hotspot_compiler file is present * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.io.PrintWriter;
--- a/test/runtime/CommandLine/ConfigFileParsing.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/ConfigFileParsing.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 7158804 * @summary Improve config file parsing * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.io.PrintWriter;
--- a/test/runtime/CommandLine/ConfigFileWarning.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/ConfigFileWarning.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 7167142 * @summary Warn if unused .hotspot_rc file is present * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.io.PrintWriter;
--- a/test/runtime/CommandLine/FlagWithInvalidValue.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/FlagWithInvalidValue.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8006298 * @summary Setting a flag to an invalid value should print a useful error message * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CommandLine/NonBooleanFlagWithInvalidBooleanPrefix.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/NonBooleanFlagWithInvalidBooleanPrefix.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8006298 * @summary Using a bool (+/-) prefix on non-bool flag should result in a useful error message * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CommandLine/ObsoleteFlagErrorMessage.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/ObsoleteFlagErrorMessage.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8060449 * @summary Newly obsolete command line options should still give useful error messages when used improperly. * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CommandLine/TestHexArguments.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/TestHexArguments.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Make sure there is no error using hexadecimal format in vm options * @author Yumin Qi * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.io.File;
--- a/test/runtime/CommandLine/TestNullTerminatedFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/TestNullTerminatedFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * @bug 6522873 * @summary Test that the VM don't allow random junk characters at the end of valid command line flags. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver TestNullTerminatedFlags */ public class TestNullTerminatedFlags {
--- a/test/runtime/CommandLine/TestVMOptions.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/TestVMOptions.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8060256 * @summary Test various command line options * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main TestVMOptions */
--- a/test/runtime/CommandLine/TraceExceptionsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/TraceExceptionsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8048933 * @summary TraceExceptions output should have the exception message - useful for ClassNotFoundExceptions especially * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CommandLine/UnrecognizedVMOption.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/UnrecognizedVMOption.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8006298 * @summary Using an unrecognized VM option should print the name of the option * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CommandLine/VMOptionWarning.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CommandLine/VMOptionWarning.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8027314 * @summary Warn if diagnostic or experimental vm option is used and -XX:+UnlockDiagnosticVMOptions or -XX:+UnlockExperimentalVMOptions, respectively, isn't specified. Warn if develop or notproduct vm option is used with product version of VM. * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CompressedOops/CompressedClassPointers.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CompressedOops/CompressedClassPointers.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8024927 * @summary Testing address of compressed class pointer space as best as possible. * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CompressedOops/CompressedClassSpaceSize.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CompressedOops/CompressedClassSpaceSize.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8022865 * @summary Tests for the -XX:CompressedClassSpaceSize command line option * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main CompressedClassSpaceSize */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CompressedOops/CompressedKlassPointerAndOops.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CompressedOops/CompressedKlassPointerAndOops.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @key regression * @summary NPG: UseCompressedClassPointers asserts with ObjectAlignmentInBytes=32 * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CompressedOops/ObjectAlignment.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CompressedOops/ObjectAlignment.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8022865 * @summary Tests for the -XX:ObjectAlignmentInBytes command line option * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main ObjectAlignment */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/CompressedOops/UseCompressedOops.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/CompressedOops/UseCompressedOops.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8022865 * @summary Tests for different combination of UseCompressedOops options * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main UseCompressedOops */ import java.util.ArrayList;
--- a/test/runtime/EnclosingMethodAttr/EnclMethodAttr.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/EnclosingMethodAttr/EnclMethodAttr.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8044738 * @library /testlibrary * @summary Check attribute_length of EnclosingMethod attribute + * @modules java.base/sun.misc + * java.management * @run main EnclMethodAttr */
--- a/test/runtime/ErrorHandling/ProblematicFrameTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/ErrorHandling/ProblematicFrameTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,10 @@ * @bug 8050167 * @summary Test that error is not occurred during printing problematic frame * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @run driver ProblematicFrameTest */
--- a/test/runtime/ErrorHandling/SecondaryErrorTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/ErrorHandling/SecondaryErrorTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -14,6 +14,8 @@ * @summary Synchronous signals during error reporting may terminate or hang VM process * @library /testlibrary * @author Thomas Stuefe (SAP) + * @modules java.base/sun.misc + * java.management */ public class SecondaryErrorTest {
--- a/test/runtime/InternalApi/ThreadCpuTimesDeadlock.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/InternalApi/ThreadCpuTimesDeadlock.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -27,6 +27,7 @@ * @bug 7196045 * @bug 8014294 * @summary Possible JVM deadlock in ThreadTimesClosure when using HotspotInternal non-public API. + * @modules java.management/sun.management * @run main/othervm -XX:+UsePerfData -Xmx32m ThreadCpuTimesDeadlock */
--- a/test/runtime/LoadClass/LoadClassNegative.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/LoadClass/LoadClassNegative.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8020675 * @summary make sure there is no fatal error if a class is loaded from an invalid jar file which is in the bootclasspath * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @build TestForName * @build LoadClassNegative * @run main LoadClassNegative
--- a/test/runtime/LocalVariableTable/TestLVT.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/LocalVariableTable/TestLVT.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @bug 8049632 * @summary Test ClassFileParser::copy_localvariable_table cases * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @compile -g -XDignore.symbol.file TestLVT.java * @run main TestLVT */
--- a/test/runtime/Metaspace/FragmentMetaspace.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Metaspace/FragmentMetaspace.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -24,6 +24,7 @@ /** * @test * @library /runtime/testlibrary + * @modules java.compiler * @build GeneratedClassLoader * @run main/othervm/timeout=200 -Xmx300m FragmentMetaspace */
--- a/test/runtime/NMT/AutoshutdownNMT.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/AutoshutdownNMT.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt * @summary Test for deprecated message if -XX:-AutoShutdownNMT is specified * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/BaselineWithParameter.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/BaselineWithParameter.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @key nmt jcmd regression * @summary Regression test for invoking a jcmd with baseline=false, result was that the target VM crashed * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:NativeMemoryTracking=detail BaselineWithParameter */
--- a/test/runtime/NMT/CommandLineDetail.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/CommandLineDetail.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt * @summary Running with NMT detail should not result in an error * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/CommandLineEmptyArgument.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/CommandLineEmptyArgument.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt * @summary Empty argument to NMT should result in an informative error message * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/CommandLineInvalidArgument.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/CommandLineInvalidArgument.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt * @summary Invalid argument to NMT should result in an informative error message * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/CommandLineSummary.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/CommandLineSummary.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt * @summary Running with NMT summary should not result in an error * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/CommandLineTurnOffNMT.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/CommandLineTurnOffNMT.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt * @summary Turning off NMT should not result in an error * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/JcmdBaselineDetail.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/JcmdBaselineDetail.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt jcmd * @summary Verify that jcmd correctly reports that baseline succeeds with NMT enabled with detailed tracking. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:NativeMemoryTracking=detail JcmdBaselineDetail */
--- a/test/runtime/NMT/JcmdDetailDiff.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/JcmdDetailDiff.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @summary run NMT baseline, allocate memory and verify output from detail.diff * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @ignore * @build JcmdDetailDiff * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/runtime/NMT/JcmdScale.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/JcmdScale.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt jcmd * @summary Test the NMT scale parameter * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:NativeMemoryTracking=summary JcmdScale */
--- a/test/runtime/NMT/JcmdScaleDetail.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/JcmdScaleDetail.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt jcmd * @summary Test the NMT scale parameter with detail tracking level * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:NativeMemoryTracking=detail JcmdScaleDetail */
--- a/test/runtime/NMT/JcmdSummaryDiff.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/JcmdSummaryDiff.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @summary run NMT baseline, allocate memory and verify output from summary.diff * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build JcmdSummaryDiff * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary JcmdSummaryDiff
--- a/test/runtime/NMT/JcmdWithNMTDisabled.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/JcmdWithNMTDisabled.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt jcmd * @summary Verify that jcmd correctly reports that NMT is not enabled * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main JcmdWithNMTDisabled 1 */
--- a/test/runtime/NMT/MallocRoundingReportTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/MallocRoundingReportTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @summary Test consistency of NMT by creating allocations of the Test type with various sizes and verifying visibility with jcmd * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build MallocRoundingReportTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest
--- a/test/runtime/NMT/MallocStressTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/MallocStressTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @summary Stress test for malloc tracking * @key nmt jcmd stress * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build MallocStressTest * @ignore - This test is disabled since it will stress NMT and timeout during normal testing * @run main ClassFileInstaller sun.hotspot.WhiteBox
--- a/test/runtime/NMT/MallocTestType.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/MallocTestType.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build MallocTestType * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/NMT/MallocTrackingVerify.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/MallocTrackingVerify.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -27,6 +27,8 @@ * @summary Test to verify correctness of malloc tracking * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build MallocTrackingVerify * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTrackingVerify
--- a/test/runtime/NMT/NMTWithCDS.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/NMTWithCDS.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8055061 * @key nmt * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main NMTWithCDS */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt * @summary Trying to enable PrintNMTStatistics should result in a warning * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/NMT/ReleaseNoCommit.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/ReleaseNoCommit.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @summary Release uncommitted memory and make sure NMT handles it correctly * @key nmt regression * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build ReleaseNoCommit * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary ReleaseNoCommit
--- a/test/runtime/NMT/ShutdownTwice.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/ShutdownTwice.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt jcmd * @summary Run shutdown twice * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:NativeMemoryTracking=detail ShutdownTwice */
--- a/test/runtime/NMT/SummaryAfterShutdown.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/SummaryAfterShutdown.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt jcmd * @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown */
--- a/test/runtime/NMT/SummarySanityCheck.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/SummarySanityCheck.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @key nmt jcmd * @summary Sanity check the output of NMT * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build SummarySanityCheck * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/NMT/ThreadedMallocTestType.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/ThreadedMallocTestType.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build ThreadedMallocTestType * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/NMT/ThreadedVirtualAllocTestType.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/ThreadedVirtualAllocTestType.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build ThreadedVirtualAllocTestType * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @summary Test reserve/commit/uncommit/release of virtual memory and that we track it correctly * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build VirtualAllocCommitUncommitRecommit * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocCommitUncommitRecommit
--- a/test/runtime/NMT/VirtualAllocTestType.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/NMT/VirtualAllocTestType.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly * @key nmt jcmd * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build VirtualAllocTestType * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/PerfMemDestroy/PerfMemDestroy.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/PerfMemDestroy/PerfMemDestroy.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8030955 * @summary Allow multiple calls to PerfMemory::destroy() without asserting. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main PerfMemDestroy */
--- a/test/runtime/RedefineObject/TestRedefineObject.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/RedefineObject/TestRedefineObject.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -33,6 +33,9 @@ * @bug 8005056 * @bug 8009728 * @library /testlibrary + * @modules java.base/sun.misc + * java.instrument + * java.management * @build Agent * @run main ClassFileInstaller Agent * @run main TestRedefineObject
--- a/test/runtime/RedefineTests/RedefineAnnotations.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/RedefineTests/RedefineAnnotations.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,9 @@ * @test * @library /testlibrary * @summary Test that type annotations are retained after a retransform + * @modules java.base/jdk.internal.org.objectweb.asm + * java.instrument + * jdk.jartool/sun.tools.jar * @run main RedefineAnnotations buildagent * @run main/othervm -javaagent:redefineagent.jar RedefineAnnotations */
--- a/test/runtime/RedefineTests/RedefineFinalizer.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/RedefineTests/RedefineFinalizer.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,9 @@ * @bug 6904403 * @summary Don't assert if we redefine finalize method * @library /testlibrary + * @modules java.compiler + * java.instrument + * jdk.jartool/sun.tools.jar * @build RedefineClassHelper * @run main RedefineClassHelper * @run main/othervm -javaagent:redefineagent.jar RedefineFinalizer
--- a/test/runtime/RedefineTests/RedefineRunningMethods.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/RedefineTests/RedefineRunningMethods.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,9 @@ * @bug 8055008 * @summary Redefine EMCP and non-EMCP methods that are running in an infinite loop * @library /testlibrary + * @modules java.compiler + * java.instrument + * jdk.jartool/sun.tools.jar * @build RedefineClassHelper * @run main RedefineClassHelper * @run main/othervm -javaagent:redefineagent.jar -XX:TraceRedefineClasses=0x600 RedefineRunningMethods
--- a/test/runtime/Safepoint/AssertSafepointCheckConsistency1.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Safepoint/AssertSafepointCheckConsistency1.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8047290 * @summary Ensure that a Monitor::lock_without_safepoint_check fires an assert when it incorrectly acquires a lock which must always have safepoint checks. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build AssertSafepointCheckConsistency1 * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/Safepoint/AssertSafepointCheckConsistency2.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Safepoint/AssertSafepointCheckConsistency2.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8047290 * @summary Ensure that a Monitor::lock fires an assert when it incorrectly acquires a lock which must never have safepoint checks. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build AssertSafepointCheckConsistency2 * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/Safepoint/AssertSafepointCheckConsistency3.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Safepoint/AssertSafepointCheckConsistency3.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8047290 * @summary Ensure that Monitor::lock_without_safepoint_check does not assert when it correctly acquires a lock which must never have safepoint checks. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build AssertSafepointCheckConsistency3 * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/Safepoint/AssertSafepointCheckConsistency4.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Safepoint/AssertSafepointCheckConsistency4.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8047290 * @summary Ensure that Monitor::lock does not assert when it correctly acquires a lock which must always have safepoint checks. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build AssertSafepointCheckConsistency4 * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -28,6 +28,8 @@ * when sharing mode is ON, and continue w/o sharing if sharing * mode is AUTO. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main ArchiveDoesNotExist */
--- a/test/runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -30,6 +30,8 @@ * should fail when loading. * @library /testlibrary * @bug 8025642 + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/SharedArchiveFile/CdsSameObjectAlignment.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/CdsSameObjectAlignment.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @summary Testing CDS (class data sharing) using varying object alignment. * Using same object alignment for each dump/load pair * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/SharedArchiveFile/DefaultUseWithClient.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/DefaultUseWithClient.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test DefaultUseWithClient * @summary Test default behavior of sharing with -client * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main DefaultUseWithClient * @bug 8032224 */
--- a/test/runtime/SharedArchiveFile/DumpSymbolAndStringTable.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/DumpSymbolAndStringTable.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8059510 * @summary Test jcmd VM.symboltable and VM.stringtable options * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:+UnlockDiagnosticVMOptions DumpSymbolAndStringTable */
--- a/test/runtime/SharedArchiveFile/LimitSharedSizes.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/LimitSharedSizes.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -24,6 +24,8 @@ /* @test LimitSharedSizes * @summary Test handling of limits on shared space size * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main LimitSharedSizes */
--- a/test/runtime/SharedArchiveFile/MaxMetaspaceSize.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/MaxMetaspaceSize.java Thu Mar 26 16:36:56 2015 +0100 @@ -26,6 +26,8 @@ * @bug 8067187 * @summary Testing CDS dumping with the -XX:MaxMetaspaceSize=<size> option * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/SharedArchiveFile/PrintSharedArchiveAndExit.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/PrintSharedArchiveAndExit.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8066670 * @summary Testing -XX:+PrintSharedArchiveAndExit option * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/SharedArchiveFile/SharedArchiveFile.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/SharedArchiveFile.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8014138 * @summary Testing new -XX:SharedArchiveFile=<file-name> option * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/SharedArchiveFile/SharedBaseAddress.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/SharedBaseAddress.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @summary Test variety of values for SharedBaseAddress, making sure * VM handles normal values as well as edge values w/o a crash. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main SharedBaseAddress */
--- a/test/runtime/SharedArchiveFile/SharedSymbolTableBucketSize.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/SharedSymbolTableBucketSize.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8059510 * @summary Test SharedSymbolTableBucketSize option * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/SharedArchiveFile/SpaceUtilizationCheck.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/SharedArchiveFile/SpaceUtilizationCheck.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test SpaceUtilizationCheck * @summary Check if the space utilization for shared spaces is adequate * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main SpaceUtilizationCheck */
--- a/test/runtime/Thread/TestThreadDumpMonitorContention.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Thread/TestThreadDumpMonitorContention.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -29,6 +29,8 @@ * whether jstack reports "locked" by more than one thread. * * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm TestThreadDumpMonitorContention */
--- a/test/runtime/Thread/ThreadPriorities.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Thread/ThreadPriorities.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2015 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -28,6 +28,8 @@ * whether jstack reports correct priorities for them. * * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main ThreadPriorities */
--- a/test/runtime/Unsafe/AllocateInstance.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/AllocateInstance.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verifies the behaviour of Unsafe.allocateInstance * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main AllocateInstance */
--- a/test/runtime/Unsafe/AllocateMemory.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/AllocateMemory.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verifies behaviour of Unsafe.allocateMemory * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:MallocMaxTestWords=100m AllocateMemory */
--- a/test/runtime/Unsafe/CopyMemory.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/CopyMemory.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verifies behaviour of Unsafe.copyMemory * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main CopyMemory */
--- a/test/runtime/Unsafe/DefineClass.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/DefineClass.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,9 @@ * @test * @summary Verifies the behaviour of Unsafe.defineClass * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management * @run main DefineClass */
--- a/test/runtime/Unsafe/FieldOffset.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/FieldOffset.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verifies the behaviour of Unsafe.fieldOffset * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main FieldOffset */
--- a/test/runtime/Unsafe/GetField.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetField.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verifies behaviour of Unsafe.getField * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetField */
--- a/test/runtime/Unsafe/GetPutAddress.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutAddress.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * Verify behaviour of Unsafe.get/putAddress and Unsafe.addressSize * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutAddress */
--- a/test/runtime/Unsafe/GetPutBoolean.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutBoolean.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putBoolean * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutBoolean */
--- a/test/runtime/Unsafe/GetPutByte.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutByte.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putByte * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutByte */
--- a/test/runtime/Unsafe/GetPutChar.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutChar.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putChar * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutChar */
--- a/test/runtime/Unsafe/GetPutDouble.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutDouble.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putDouble * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutDouble */
--- a/test/runtime/Unsafe/GetPutFloat.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutFloat.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putFloat * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutFloat */
--- a/test/runtime/Unsafe/GetPutInt.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutInt.java Thu Mar 26 16:36:56 2015 +0100 @@ -24,6 +24,8 @@ /* * @test * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutInt */
--- a/test/runtime/Unsafe/GetPutLong.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutLong.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putLong * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutLong */
--- a/test/runtime/Unsafe/GetPutObject.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutObject.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putObject * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutObject */
--- a/test/runtime/Unsafe/GetPutShort.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetPutShort.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify behaviour of Unsafe.get/putShort * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main GetPutShort */
--- a/test/runtime/Unsafe/GetUnsafe.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/GetUnsafe.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,7 @@ * @test * @summary Verifies that getUnsafe() actually throws SecurityException when unsafeAccess is prohibited. * @library /testlibrary + * @modules java.base/sun.misc * @run main GetUnsafe */
--- a/test/runtime/Unsafe/PageSize.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/PageSize.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Make sure pageSize() returns a value that is a power of two * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main PageSize */
--- a/test/runtime/Unsafe/RangeCheck.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/RangeCheck.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8001071 * @summary Add simple range check into VM implemenation of Unsafe access methods * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.*;
--- a/test/runtime/Unsafe/Reallocate.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/Reallocate.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @bug 8058897 * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:MallocMaxTestWords=100m Reallocate */
--- a/test/runtime/Unsafe/SetMemory.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/SetMemory.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verifies that setMemory works correctly * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main SetMemory */
--- a/test/runtime/Unsafe/ThrowException.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/Unsafe/ThrowException.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,8 @@ * @test * @summary Verify that throwException() can throw an exception * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main ThrowException */
--- a/test/runtime/XCheckJniJsig/XCheckJSig.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/XCheckJniJsig/XCheckJSig.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -26,6 +26,8 @@ * @bug 7051189 8023393 * @summary Need to suppress info message if -Xcheck:jni is used with libjsig.so * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main XCheckJSig */
--- a/test/runtime/classFileParserBug/ClassFileParserBug.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/classFileParserBug/ClassFileParserBug.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8040018 * @library /testlibrary * @summary Check for exception instead of assert. + * @modules java.base/sun.misc + * java.management * @run main ClassFileParserBug */
--- a/test/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8041918 * @library /testlibrary * @summary Test empty bootstrap_methods table within BootstrapMethods attribute + * @modules java.base/sun.misc + * java.management * @compile TestEmptyBootstrapMethodsAttr.java * @run main TestEmptyBootstrapMethodsAttr */
--- a/test/runtime/contended/Basic.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/contended/Basic.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -42,7 +42,7 @@ * @test * @bug 8003985 * @summary Support Contended Annotation - JEP 142 - * + * @modules java.base/sun.misc * @run main/othervm -XX:-RestrictContended Basic */ public class Basic {
--- a/test/runtime/contended/DefaultValue.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/contended/DefaultValue.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -43,6 +43,7 @@ * @bug 8014509 * @summary \@Contended: explicit default value behaves differently from the implicit value * + * @modules java.base/sun.misc * @run main/othervm -XX:-RestrictContended DefaultValue */ public class DefaultValue {
--- a/test/runtime/contended/HasNonStatic.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/contended/HasNonStatic.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -43,6 +43,7 @@ * @bug 8015270 * @summary \@Contended: fix multiple issues in the layout code * + * @modules java.base/sun.misc * @run main/othervm -XX:-RestrictContended HasNonStatic */ public class HasNonStatic {
--- a/test/runtime/contended/Inheritance1.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/contended/Inheritance1.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -43,6 +43,7 @@ * @bug 8012939 * @summary \@Contended doesn't work correctly with inheritance * + * @modules java.base/sun.misc * @run main/othervm -XX:-RestrictContended Inheritance1 */ public class Inheritance1 {
--- a/test/runtime/contended/OopMaps.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/contended/OopMaps.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -44,6 +44,7 @@ * @bug 8015493 * @summary \@Contended: fix multiple issues in the layout code * + * @modules java.base/sun.misc * @run main/othervm -XX:-RestrictContended -XX:ContendedPaddingWidth=128 -Xmx128m OopMaps */ public class OopMaps {
--- a/test/runtime/contended/OopMapsSameGroup.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/contended/OopMapsSameGroup.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -43,6 +43,7 @@ * @bug 8015272 * @summary \@Contended within the same group to use the same oop map * + * @modules java.base/sun.misc * @run main/othervm -XX:-RestrictContended -XX:ContendedPaddingWidth=128 -Xmx128m OopMapsSameGroup */ public class OopMapsSameGroup {
--- a/test/runtime/contended/Options.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/contended/Options.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -29,6 +29,8 @@ * @summary ContendedPaddingWidth should be range-checked * * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main Options */ public class Options {
--- a/test/runtime/duplAttributes/DuplAttributesTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/duplAttributes/DuplAttributesTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,8 @@ * @bug 8040292 * @library /testlibrary * @summary Throw exceptions when duplicate attributes are detected. + * @modules java.base/sun.misc + * java.management * @run main DuplAttributesTest */
--- a/test/runtime/finalStatic/FinalStatic.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/finalStatic/FinalStatic.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test * @bug 8028553 * @summary Test that VerifyError is not thrown when 'overriding' a static method. + * @modules java.base/jdk.internal.org.objectweb.asm * @run main FinalStatic */
--- a/test/runtime/lambda-features/TestConcreteClassWithAbstractMethod.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/lambda-features/TestConcreteClassWithAbstractMethod.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,7 @@ * @test * @bug 8032010 * @summary method lookup on an abstract method in a concrete class should be successful + * @modules java.base/jdk.internal.org.objectweb.asm * @run main TestConcreteClassWithAbstractMethod */
--- a/test/runtime/memory/LargePages/TestLargePageSizeInBytes.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/memory/LargePages/TestLargePageSizeInBytes.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @summary Tests that the flag -XX:LargePageSizeInBytes does not cause warnings on Solaris * @bug 8049536 * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver TestLargePageSizeInBytes */
--- a/test/runtime/memory/LargePages/TestLargePagesFlags.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/memory/LargePages/TestLargePagesFlags.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -24,6 +24,8 @@ /* @test TestLargePagesFlags * @summary Tests how large pages are choosen depending on the given large pages flag combinations. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main TestLargePagesFlags */
--- a/test/runtime/memory/ReadFromNoaccessArea.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/memory/ReadFromNoaccessArea.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @summary Test that touching noaccess area in class ReservedHeapSpace results in SIGSEGV/ACCESS_VIOLATION * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build ReadFromNoaccessArea * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/memory/ReserveMemory.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/memory/ReserveMemory.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -27,6 +27,8 @@ * @bug 8012015 * @summary Make sure reserved (but uncommitted) memory is not accessible * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build ReserveMemory * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/memory/RunUnitTestsConcurrently.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/memory/RunUnitTestsConcurrently.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @summary Test launches unit tests inside vm concurrently * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build RunUnitTestsConcurrently * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/runtime/verifier/OverriderMsg.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/verifier/OverriderMsg.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -32,6 +32,9 @@ * @test OverriderMsg * @bug 8026894 * @library /testlibrary + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc + * java.management * @compile -XDignore.symbol.file OverriderMsg.java * @run main/othervm OverriderMsg */
--- a/test/runtime/verifier/TestANewArray.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/verifier/TestANewArray.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -34,6 +34,9 @@ * @test * @summary Test that anewarray bytecode is valid only if it specifies 255 or fewer dimensions. * @library /testlibrary + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc + * java.management * @compile -XDignore.symbol.file TestANewArray.java * @run main/othervm TestANewArray 49 * @run main/othervm TestANewArray 50
--- a/test/runtime/verifier/TestMultiANewArray.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/runtime/verifier/TestMultiANewArray.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -32,6 +32,9 @@ * @test TestMultiANewArray * @bug 8038076 * @library /testlibrary + * @modules java.base/jdk.internal.org.objectweb.asm + * java.base/sun.misc + * java.management * @compile -XDignore.symbol.file TestMultiANewArray.java * @run main/othervm TestMultiANewArray 49 * @run main/othervm TestMultiANewArray 50
--- a/test/serviceability/attach/AttachSetGetFlag.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/attach/AttachSetGetFlag.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,11 @@ * @bug 8054823 * @summary Tests the setFlag and printFlag attach command * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.attach/sun.tools.attach + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* AttachSetGetFlag * @run driver AttachSetGetFlag */
--- a/test/serviceability/dcmd/compiler/CodeCacheTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/compiler/CodeCacheTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,10 @@ * @test CodeCacheTest * @bug 8054889 * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng/othervm -XX:+SegmentedCodeCache CodeCacheTest
--- a/test/serviceability/dcmd/compiler/CodelistTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/compiler/CodelistTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,10 @@ * @test CodelistTest * @bug 8054889 * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @build MethodIdentifierParser
--- a/test/serviceability/dcmd/compiler/CompilerQueueTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/compiler/CompilerQueueTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,10 @@ * @test CompilerQueueTest * @bug 8054889 * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @ignore 8069160 * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.*
--- a/test/serviceability/dcmd/framework/HelpTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/framework/HelpTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -33,6 +33,10 @@ * @test * @summary Test of diagnostic command help (tests all DCMD executors) * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @ignore 8072440 * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.*
--- a/test/serviceability/dcmd/framework/InvalidCommandTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/framework/InvalidCommandTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -33,6 +33,10 @@ * @test * @summary Test of invalid diagnostic command (tests all DCMD executors) * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @ignore 8072440 * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.*
--- a/test/serviceability/dcmd/framework/VMVersionTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/framework/VMVersionTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -34,6 +34,10 @@ * @test * @summary Test of diagnostic command VM.version (tests all DCMD executors) * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @ignore 8072440 * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.*
--- a/test/serviceability/dcmd/gc/ClassHistogramAllTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/gc/ClassHistogramAllTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,10 @@ * @test * @summary Test of diagnostic command GC.class_histogram -all=true * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @build ClassHistogramTest
--- a/test/serviceability/dcmd/gc/ClassHistogramTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/gc/ClassHistogramTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -33,6 +33,10 @@ * @test * @summary Test of diagnostic command GC.class_histogram * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng ClassHistogramTest
--- a/test/serviceability/dcmd/gc/HeapDumpAllTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/gc/HeapDumpAllTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,10 @@ * @test * @summary Test of diagnostic command GC.heap_dump -all=true * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @build HeapDumpTest
--- a/test/serviceability/dcmd/gc/HeapDumpTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/gc/HeapDumpTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -35,6 +35,10 @@ * @test * @summary Test of diagnostic command GC.heap_dump * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng HeapDumpTest
--- a/test/serviceability/dcmd/gc/RunFinalizationTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/gc/RunFinalizationTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -35,6 +35,10 @@ * @test * @summary Test of diagnostic command GC.run_finalization * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng RunFinalizationTest
--- a/test/serviceability/dcmd/gc/RunGCTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/gc/RunGCTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -37,6 +37,10 @@ * @test * @summary Test of diagnostic command GC.run * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng/othervm -XX:+PrintGCDetails -Xloggc:RunGC.gclog -XX:-ExplicitGCInvokesConcurrent RunGCTest
--- a/test/serviceability/dcmd/thread/PrintConcurrentLocksTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/thread/PrintConcurrentLocksTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,10 @@ * @test * @summary Test of diagnostic command Thread.print -l=true * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @build PrintTest
--- a/test/serviceability/dcmd/thread/PrintTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/thread/PrintTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -38,6 +38,10 @@ * @test * @summary Test of diagnostic command Thread.print * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng PrintTest
--- a/test/serviceability/dcmd/vm/ClassHierarchyTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/vm/ClassHierarchyTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -25,6 +25,10 @@ * @test * @summary Test of diagnostic command VM.class_hierarchy * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng ClassHierarchyTest
--- a/test/serviceability/dcmd/vm/ClassLoaderStatsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/vm/ClassLoaderStatsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,10 @@ * @test * @summary Test of diagnostic command VM.classloader_stats * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng ClassLoaderStatsTest
--- a/test/serviceability/dcmd/vm/CommandLineTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/vm/CommandLineTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -31,6 +31,10 @@ * @test * @summary Test of diagnostic command VM.command_line * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis CommandLineTest
--- a/test/serviceability/dcmd/vm/DynLibsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/vm/DynLibsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -33,6 +33,10 @@ * @test * @summary Test of VM.dynlib diagnostic command via MBean * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng DynLibsTest
--- a/test/serviceability/dcmd/vm/FlagsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/vm/FlagsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -30,6 +30,10 @@ * @test * @summary Test of diagnostic command VM.flags * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng/othervm -Xmx129m -XX:+PrintGC -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis_Right -XX:-TieredCompilation FlagsTest
--- a/test/serviceability/dcmd/vm/SystemPropertiesTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/vm/SystemPropertiesTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -31,6 +31,10 @@ * @test * @summary Test of diagnostic command VM.system_properties * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng SystemPropertiesTest
--- a/test/serviceability/dcmd/vm/UptimeTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/dcmd/vm/UptimeTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -35,6 +35,10 @@ * @test * @summary Test of diagnostic command VM.uptime * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* * @run testng UptimeTest
--- a/test/serviceability/jvmti/GetObjectSizeOverflow.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/jvmti/GetObjectSizeOverflow.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -29,6 +29,11 @@ * @test * @bug 8027230 * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.instrument + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build ClassFileInstaller com.oracle.java.testlibrary.* GetObjectSizeOverflowAgent * @run main ClassFileInstaller GetObjectSizeOverflowAgent * @run main GetObjectSizeOverflow
--- a/test/serviceability/jvmti/TestLambdaFormRetransformation.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/jvmti/TestLambdaFormRetransformation.java Thu Mar 26 16:36:56 2015 +0100 @@ -27,6 +27,10 @@ * @bug 8008678 * @summary JSR 292: constant pool reconstitution must support pseudo strings * @library /testlibrary + * @modules java.base/sun.misc + * java.instrument + * java.management + * jdk.jartool/sun.tools.jar * @compile -XDignore.symbol.file TestLambdaFormRetransformation.java * @run main TestLambdaFormRetransformation */
--- a/test/serviceability/jvmti/TestRedefineWithUnresolvedClass.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/jvmti/TestRedefineWithUnresolvedClass.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,12 @@ * @summary Redefine a class with an UnresolvedClass reference in the constant pool. * @bug 8035150 * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.instrument + * java.management + * jdk.jartool/sun.tools.jar + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* UnresolvedClassAgent * @run main TestRedefineWithUnresolvedClass */
--- a/test/serviceability/sa/jmap-hashcode/Test8028623.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/sa/jmap-hashcode/Test8028623.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -26,6 +26,10 @@ * @bug 8028623 * @summary Test hashing of extended characters in Serviceability Agent. * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @ignore 8044416 * @build com.oracle.java.testlibrary.* * @compile -encoding utf8 Test8028623.java
--- a/test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -44,6 +44,10 @@ * @key regression * @summary Regression test for hprof export issue due to large heaps (>2G) * @library /testlibrary + * @modules java.base/sun.misc + * java.compiler + * java.management/sun.management + * jdk.jvmstat/sun.jvmstat.monitor * @build com.oracle.java.testlibrary.* JMapHProfLargeHeapProc * @run main JMapHProfLargeHeapTest */
--- a/test/testlibrary_tests/OutputAnalyzerReportingTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/OutputAnalyzerReportingTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * such as printing additional diagnostic info * (exit code, stdout, stderr, command line, etc.) * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import java.io.ByteArrayOutputStream;
--- a/test/testlibrary_tests/OutputAnalyzerTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/OutputAnalyzerTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,8 @@ * @test * @summary Test the OutputAnalyzer utility class * @library /testlibrary + * @modules java.base/sun.misc + * java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;
--- a/test/testlibrary_tests/RandomGeneratorTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/RandomGeneratorTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test * @summary Verify correctnes of the random generator from Utility.java * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run driver RandomGeneratorTest SAME_SEED * @run driver RandomGeneratorTest NO_SEED * @run driver RandomGeneratorTest DIFFERENT_SEED
--- a/test/testlibrary_tests/RedefineClassTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/RedefineClassTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,9 @@ * @test * @library /testlibrary * @summary Proof of concept test for RedefineClassHelper + * @modules java.compiler + * java.instrument + * jdk.jartool/sun.tools.jar * @build RedefineClassHelper * @run main RedefineClassHelper * @run main/othervm -javaagent:redefineagent.jar RedefineClassTest
--- a/test/testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -39,6 +39,8 @@ * in com.oracle.java.testlibrary.Platform one and only one predicate * evaluates to true. * @library /testlibrary + * @modules java.base/sun.misc + * java.management * @run main TestMutuallyExclusivePlatformPredicates */ public class TestMutuallyExclusivePlatformPredicates {
--- a/test/testlibrary_tests/TestPlatformIsTieredSupported.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/TestPlatformIsTieredSupported.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -29,6 +29,8 @@ * @test * @summary Verifies that Platform::isTieredSupported returns correct value. * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management * @build TestPlatformIsTieredSupported * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/ctw/ClassesDirTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/ctw/ClassesDirTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,9 @@ * @test * @bug 8012447 * @library /testlibrary /../../test/lib /testlibrary/ctw/src + * @modules java.base/sun.misc + * java.base/sun.reflect + * java.management * @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/ctw/ClassesListTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/ctw/ClassesListTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,9 @@ * @test * @bug 8012447 * @library /testlibrary /../../test/lib /testlibrary/ctw/src + * @modules java.base/sun.misc + * java.base/sun.reflect + * java.management * @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/ctw/JarDirTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/ctw/JarDirTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,11 @@ * @test * @bug 8012447 * @library /testlibrary /../../test/lib /testlibrary/ctw/src + * @modules java.base/sun.misc + * java.base/sun.reflect + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/ctw/JarsTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/ctw/JarsTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,11 @@ * @test * @bug 8012447 * @library /testlibrary /../../test/lib /testlibrary/ctw/src + * @modules java.base/sun.misc + * java.base/sun.reflect + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/whitebox/vm_flags/BooleanTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/whitebox/vm_flags/BooleanTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,10 @@ * @test BooleanTest * @bug 8028756 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.compiler + * java.management/sun.management + * jdk.jvmstat/sun.jvmstat.monitor * @build BooleanTest ClassFileInstaller sun.hotspot.WhiteBox com.oracle.java.testlibrary.* * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test DoubleTest * @bug 8028756 * @library /testlibrary /../../test/lib + * @modules java.management/sun.management * @build DoubleTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/whitebox/vm_flags/IntxTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/whitebox/vm_flags/IntxTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test IntxTest * @bug 8028756 * @library /testlibrary /../../test/lib + * @modules java.management/sun.management * @build IntxTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/whitebox/vm_flags/SizeTTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/whitebox/vm_flags/SizeTTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test SizeTTest * @bug 8054823 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management/sun.management * @build SizeTTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/whitebox/vm_flags/StringTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/whitebox/vm_flags/StringTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test StringTest * @bug 8028756 * @library /testlibrary /../../test/lib + * @modules java.management/sun.management * @build StringTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/whitebox/vm_flags/Uint64Test.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/whitebox/vm_flags/Uint64Test.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,7 @@ * @test Uint64Test * @bug 8028756 * @library /testlibrary /../../test/lib + * @modules java.management/sun.management * @build Uint64Test * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/test/testlibrary_tests/whitebox/vm_flags/UintxTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/test/testlibrary_tests/whitebox/vm_flags/UintxTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -25,6 +25,8 @@ * @test UintxTest * @bug 8028756 * @library /testlibrary /../../test/lib + * @modules java.base/sun.misc + * java.management/sun.management * @build UintxTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission