8260899: ARM32: SyncOnValueBasedClassTest fails with assert(is_valid()) failed: invalid register
Reviewed-by: dsamersoff
This commit is contained in:
parent
9d59dec200
commit
d45343ea51
@ -205,9 +205,9 @@ int C1_MacroAssembler::lock_object(Register hdr, Register obj,
|
||||
null_check_offset = offset();
|
||||
|
||||
if (DiagnoseSyncOnValueBasedClasses != 0) {
|
||||
load_klass(tmp1, obj);
|
||||
ldr_u32(tmp1, Address(tmp1, Klass::access_flags_offset()));
|
||||
tst(tmp1, JVM_ACC_IS_VALUE_BASED_CLASS);
|
||||
load_klass(tmp2, obj);
|
||||
ldr_u32(tmp2, Address(tmp2, Klass::access_flags_offset()));
|
||||
tst(tmp2, JVM_ACC_IS_VALUE_BASED_CLASS);
|
||||
b(slow_case, ne);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user