equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 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. |
64 assertVMOption(output, "UseG1GC", isServer); |
64 assertVMOption(output, "UseG1GC", isServer); |
65 // Serial is default for non-server class machines |
65 // Serial is default for non-server class machines |
66 assertVMOption(output, "UseSerialGC", !isServer); |
66 assertVMOption(output, "UseSerialGC", !isServer); |
67 // CMS is never default |
67 // CMS is never default |
68 assertVMOption(output, "UseConcMarkSweepGC", false); |
68 assertVMOption(output, "UseConcMarkSweepGC", false); |
69 assertVMOption(output, "UseParNewGC", false); |
|
70 } |
69 } |
71 |
70 |
72 public static void main(String[] args) throws Exception { |
71 public static void main(String[] args) throws Exception { |
73 // Test server class machine |
72 // Test server class machine |
74 testDefaultGC(false); |
73 testDefaultGC(false); |