8343978: Update the default value of CodeEntryAlignment for Ampere-1A and 1B

Reviewed-by: dlong, kvn
This commit is contained in:
Liming Liu 2025-01-09 23:38:20 +00:00 committed by Dean Long
parent 931914af76
commit 89ee1a5517

View File

@ -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