Skip to content

Commit

Permalink
Backport 89ee1a5517ea1e3915f4362ada3d2086b63c107e
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Feb 19, 2025
1 parent 9d496c0 commit 444c329
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ void VM_Version::initialize() {
if (FLAG_IS_DEFAULT(OnSpinWaitInstCount)) {
FLAG_SET_DEFAULT(OnSpinWaitInstCount, 2);
}
if (FLAG_IS_DEFAULT(CodeEntryAlignment) &&
(_model == CPU_MODEL_AMPERE_1A || _model == CPU_MODEL_AMPERE_1B)) {
FLAG_SET_DEFAULT(CodeEntryAlignment, 32);
}
}

// ThunderX
Expand Down

0 comments on commit 444c329

Please sign in to comment.