Skip to content

Commit 7540fa2

Browse files
committed
8343884: [s390x] Disallow OptoScheduling
Reviewed-by: lucy
1 parent 9d60300 commit 7540fa2

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
@@ -320,6 +320,12 @@ void VM_Version::initialize() {
320320
if (FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
321321
FLAG_SET_DEFAULT(UseUnalignedAccesses, true);
322322
}
323+
324+
// The OptoScheduling information is not maintained in s390.ad.
325+
if (OptoScheduling) {
326+
warning("OptoScheduling is not supported on this CPU.");
327+
FLAG_SET_DEFAULT(OptoScheduling, false);
328+
}
323329
}
324330

325331

0 commit comments

Comments
 (0)