Skip to content

Commit 2714827

Browse files
author
duke
committed
Backport 7540fa2147ff8fc9c652ef13548f72f27e2809a8
1 parent fd7b6e4 commit 2714827

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/hotspot/cpu/s390/vm_version_s390.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,12 @@ void VM_Version::initialize() {
302302
if (FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
303303
FLAG_SET_DEFAULT(UseUnalignedAccesses, true);
304304
}
305+
306+
// The OptoScheduling information is not maintained in s390.ad.
307+
if (OptoScheduling) {
308+
warning("OptoScheduling is not supported on this CPU.");
309+
FLAG_SET_DEFAULT(OptoScheduling, false);
310+
}
305311
}
306312

307313

0 commit comments

Comments
 (0)