Skip to content

Commit

Permalink
8343884: [s390x] Disallow OptoScheduling
Browse files Browse the repository at this point in the history
Backport-of: 7540fa2
  • Loading branch information
offamitkumar authored and Paul Hohensee committed Nov 22, 2024
1 parent f091c76 commit 50fc231
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hotspot/cpu/s390/vm_version_s390.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,12 @@ void VM_Version::initialize() {
if (FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
FLAG_SET_DEFAULT(UseUnalignedAccesses, true);
}

// The OptoScheduling information is not maintained in s390.ad.
if (OptoScheduling) {
warning("OptoScheduling is not supported on this CPU.");
FLAG_SET_DEFAULT(OptoScheduling, false);
}
}


Expand Down

0 comments on commit 50fc231

Please sign in to comment.