Skip to content

Commit 50fc231

Browse files
offamitkumarPaul Hohensee
authored and
Paul Hohensee
committed
8343884: [s390x] Disallow OptoScheduling
Backport-of: 7540fa2147ff8fc9c652ef13548f72f27e2809a8
1 parent f091c76 commit 50fc231

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/hotspot/cpu/s390/vm_version_s390.cpp

+6
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)