comparison test/gc/TestSystemGC.java @ 22981:f967da7f0c3c

8062537: [TESTBUG] Conflicting GC combinations in hotspot tests Reviewed-by: tschatzl, jwilhelm
author jwilhelm
date Thu, 23 Apr 2015 15:59:48 +0200
parents a1b05d4a6fd0
children
comparison
equal deleted inserted replaced
22980:974d7f3df726 22981:f967da7f0c3c
1 /* 1 /*
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test TestSystemGC 25 * @test TestSystemGC
26 * @key gc 26 * @key gc
27 * @requires vm.gc=="null"
27 * @summary Runs System.gc() with different flags. 28 * @summary Runs System.gc() with different flags.
28 * @run main/othervm TestSystemGC 29 * @run main/othervm TestSystemGC
29 * @run main/othervm -XX:+UseSerialGC TestSystemGC 30 * @run main/othervm -XX:+UseSerialGC TestSystemGC
30 * @run main/othervm -XX:+UseParNewGC TestSystemGC 31 * @run main/othervm -XX:+UseParNewGC TestSystemGC
31 * @run main/othervm -XX:+UseParallelGC TestSystemGC 32 * @run main/othervm -XX:+UseParallelGC TestSystemGC