comparison test/gc/6581734/Test6581734.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 21c29458b334
children
comparison
equal deleted inserted replaced
22980:974d7f3df726 22981:f967da7f0c3c
1 /* 1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 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 Test6581734.java 25 * @test Test6581734.java
26 * @bug 6581734 26 * @bug 6581734
27 * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
27 * @summary CMS Old Gen's collection usage is zero after GC which is incorrect 28 * @summary CMS Old Gen's collection usage is zero after GC which is incorrect
28 * @run main/othervm -Xmx512m -verbose:gc -XX:+UseConcMarkSweepGC Test6581734 29 * @run main/othervm -Xmx512m -verbose:gc -XX:+UseConcMarkSweepGC Test6581734
29 * 30 *
30 */ 31 */
31 import java.util.*; 32 import java.util.*;