equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2017, 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. |
33 * @summary Stress the Parallel GC by trying to make old objects more likely to be garbage than young objects. |
33 * @summary Stress the Parallel GC by trying to make old objects more likely to be garbage than young objects. |
34 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseParallelGC -XX:-UseGCOverheadLimit TestGCBasherWithParallel 120000 |
34 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseParallelGC -XX:-UseGCOverheadLimit TestGCBasherWithParallel 120000 |
35 */ |
35 */ |
36 public class TestGCBasherWithParallel { |
36 public class TestGCBasherWithParallel { |
37 public static void main(String[] args) throws IOException { |
37 public static void main(String[] args) throws IOException { |
38 TestGCBasher.run(args); |
38 TestGCBasher.main(args); |
39 } |
39 } |
40 } |
40 } |