mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-22 03:17:54 +00:00
8343978: Update the default value of CodeEntryAlignment for Ampere-1A and 1B
Reviewed-by: dlong, kvn
This commit is contained in:
parent
931914af76
commit
89ee1a5517
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user