8253891: Debug x86_32 builds fail after JDK-8239090

Reviewed-by: stuefe, phh
This commit is contained in:
Aleksey Shipilev 2020-10-02 06:57:03 +00:00
parent b9505df3b4
commit 6f40a41466

@ -779,7 +779,7 @@ void VM_Version::get_processor_features() {
cores_per_cpu(), threads_per_core(),
cpu_family(), _model, _stepping, os::cpu_microcode_revision());
assert(res > 0, "not enough temporary space allocated");
assert(exact_log2(CPU_MAX_FEATURE) + 1 == sizeof(_features_names) / sizeof(char*), "wrong size features_names");
assert(exact_log2_long(CPU_MAX_FEATURE) + 1 == sizeof(_features_names) / sizeof(char*), "wrong size features_names");
insert_features_names(buf + res, sizeof(buf) - res, _features_names);
_features_string = os::strdup(buf);