1 /* |
1 /* |
2 * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2019, 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. |
63 private void initTestTable() { |
63 private void initTestTable() { |
64 // These options are not applicable on 32-bit platforms |
64 // These options are not applicable on 32-bit platforms |
65 if (Platform.is64bit()) { |
65 if (Platform.is64bit()) { |
66 testTable.add( new TestVector("-XX:ObjectAlignmentInBytes=8", "-XX:ObjectAlignmentInBytes=16", |
66 testTable.add( new TestVector("-XX:ObjectAlignmentInBytes=8", "-XX:ObjectAlignmentInBytes=16", |
67 "An error has occurred while processing the shared archive file", 1) ); |
67 "An error has occurred while processing the shared archive file", 1) ); |
68 testTable.add( new TestVector("-XX:ObjectAlignmentInBytes=64", "-XX:ObjectAlignmentInBytes=32", |
68 if (!TestCommon.isDynamicArchive()) { |
69 "An error has occurred while processing the shared archive file", 1) ); |
69 testTable.add( new TestVector("-XX:ObjectAlignmentInBytes=64", "-XX:ObjectAlignmentInBytes=32", |
|
70 "An error has occurred while processing the shared archive file", 1) ); |
|
71 } |
70 testTable.add( new TestVector("-XX:+UseCompressedOops", "-XX:-UseCompressedOops", |
72 testTable.add( new TestVector("-XX:+UseCompressedOops", "-XX:-UseCompressedOops", |
71 "Class data sharing is inconsistent with other specified options", 1) ); |
73 "Class data sharing is inconsistent with other specified options", 1) ); |
72 testTable.add( new TestVector("-XX:+UseCompressedClassPointers", "-XX:-UseCompressedClassPointers", |
74 testTable.add( new TestVector("-XX:+UseCompressedClassPointers", "-XX:-UseCompressedClassPointers", |
73 "Class data sharing is inconsistent with other specified options", 1) ); |
75 "Class data sharing is inconsistent with other specified options", 1) ); |
74 } |
76 } |