# HG changeset patch # User drwhite # Date 1456180717 18000 # Mon Feb 22 17:38:37 2016 -0500 # Node ID cbcd4e6a74daa7e1090da5eb8be6203e667883a2 # Parent 5624ea45bbd77eb348176b2900ab6f350e77d095 [mq]: webrev.04 diff --git a/test/TEST.groups b/test/TEST.groups --- a/test/TEST.groups +++ b/test/TEST.groups @@ -1,5 +1,5 @@ # -# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -230,8 +230,10 @@ # needs_g1gc = \ compiler/regalloc/C1ObjectSpillInLogicOp.java \ + gc/TestSmallHeap.java \ gc/TestSystemGC.java \ gc/arguments/TestAlignmentToUseLargePages.java \ + gc/arguments/TestG1ConcRefinementThreads.java \ gc/arguments/TestG1HeapRegionSize.java \ gc/arguments/TestG1HeapSizeFlags.java \ gc/arguments/TestG1PercentageOptions.java \ @@ -242,11 +244,11 @@ gc/class_unloading/TestG1ClassUnloadingHWM.java \ gc/ergonomics/TestDynamicNumberOfGCThreads.java \ gc/g1/ \ + gc/logging/TestGCId.java \ gc/metaspace/G1AddMetaspaceDependency.java \ gc/metaspace/TestMetaspacePerfCounters.java \ gc/startup_warnings/TestG1.java \ - gc/whitebox/TestConcMarkCycleWB.java \ - gc/arguments/TestG1ConcRefinementThreads.java + gc/whitebox/TestConcMarkCycleWB.java hotspot_native_sanity = \ native_sanity diff --git a/test/gc/TestCardTablePageCommits.java b/test/gc/TestCardTablePageCommits.java --- a/test/gc/TestCardTablePageCommits.java +++ b/test/gc/TestCardTablePageCommits.java @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * 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 @@ * @key gc * @bug 8059066 * @summary Tests that the card table does not commit the same page twice + * @requires vm.gc=="Parallel" | vm.gc=="null" * @library /testlibrary * @modules java.base/sun.misc * java.management diff --git a/test/gc/arguments/TestCMSHeapSizeFlags.java b/test/gc/arguments/TestCMSHeapSizeFlags.java --- a/test/gc/arguments/TestCMSHeapSizeFlags.java +++ b/test/gc/arguments/TestCMSHeapSizeFlags.java @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. * 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 TestCMSHeapSizeFlags * @key gc * @bug 8006088 + * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null" * @summary Tests argument processing for initial and maximum heap size for the CMS collector * @library /testlibrary /test/lib * @modules java.base/sun.misc diff --git a/test/gc/arguments/TestG1ConcRefinementThreads.java b/test/gc/arguments/TestG1ConcRefinementThreads.java --- a/test/gc/arguments/TestG1ConcRefinementThreads.java +++ b/test/gc/arguments/TestG1ConcRefinementThreads.java @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * 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 TestG1ConcRefinementThreads * @key gc * @bug 8047976 + * @requires vm.gc=="G1" | vm.gc=="null" * @summary Tests argument processing for G1ConcRefinementThreads * @library /testlibrary * @modules java.base/sun.misc diff --git a/test/gc/arguments/TestG1HeapSizeFlags.java b/test/gc/arguments/TestG1HeapSizeFlags.java --- a/test/gc/arguments/TestG1HeapSizeFlags.java +++ b/test/gc/arguments/TestG1HeapSizeFlags.java @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. * 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 TestG1HeapSizeFlags * @key gc * @bug 8006088 + * @requires vm.gc=="G1" | vm.gc=="null" * @summary Tests argument processing for initial and maximum heap size for the G1 collector * @library /testlibrary /test/lib * @modules java.base/sun.misc diff --git a/test/gc/arguments/TestG1PercentageOptions.java b/test/gc/arguments/TestG1PercentageOptions.java --- a/test/gc/arguments/TestG1PercentageOptions.java +++ b/test/gc/arguments/TestG1PercentageOptions.java @@ -1,5 +1,5 @@ /* -* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * 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 TestG1PercentageOptions * @key gc * @bug 8068942 + * @requires vm.gc=="G1" | vm.gc=="null" * @summary Test argument processing of various percentage options * @library /testlibrary * @modules java.base/sun.misc diff --git a/test/gc/arguments/TestParallelHeapSizeFlags.java b/test/gc/arguments/TestParallelHeapSizeFlags.java --- a/test/gc/arguments/TestParallelHeapSizeFlags.java +++ b/test/gc/arguments/TestParallelHeapSizeFlags.java @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. +* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. * 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 8006088 * @summary Tests argument processing for initial and maximum heap size for the * parallel collectors. + * @requires vm.gc=="null" * @library /testlibrary /test/lib * @modules java.base/sun.misc * java.management diff --git a/test/gc/logging/TestGCId.java b/test/gc/logging/TestGCId.java --- a/test/gc/logging/TestGCId.java +++ b/test/gc/logging/TestGCId.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * 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 TestGCId * @bug 8043607 * @summary Ensure that the GCId is logged + * @requires vm.gc=="null" * @key gc * @library /testlibrary * @modules java.base/sun.misc