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. |
29 * @key gc |
29 * @key gc |
30 * @key stress |
30 * @key stress |
31 * @requires vm.gc.Serial |
31 * @requires vm.gc.Serial |
32 * @requires vm.flavor == "server" |
32 * @requires vm.flavor == "server" |
33 * @summary Stress the Serial GC by trying to make old objects more likely to be garbage than young objects. |
33 * @summary Stress the Serial GC by trying to make old objects more likely to be garbage than young objects. |
34 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx128m -server -XX:+UseSerialGC TestGCBasherWithSerial 120000 |
34 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseSerialGC TestGCBasherWithSerial 120000 |
35 */ |
35 */ |
36 public class TestGCBasherWithSerial { |
36 public class TestGCBasherWithSerial { |
37 public static void main(String[] args) throws IOException { |
37 public static void main(String[] args) throws IOException { |
38 TestGCBasher.run(args); |
38 TestGCBasher.run(args); |
39 } |
39 } |