Skip to content
Permalink
Browse files
8260029: aarch64: fix typo in verify_oop_array
Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Reviewed-by: shade, aph
  • Loading branch information
Fei Yang and Zhuxuan Ni committed Jan 21, 2021
1 parent e1de0bf commit 4bcffeb9f4a8861f875f4792d71c2cf7ceae5530
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp
@@ -1340,10 +1340,10 @@ class StubGenerator: public StubCodeGenerator {
__ ldr(temp, Address(a, rscratch2, Address::lsl(exact_log2(size))));
__ verify_oop(temp);
} else {
__ ldrw(r16, Address(a, rscratch2, Address::lsl(exact_log2(size))));
__ ldrw(temp, Address(a, rscratch2, Address::lsl(exact_log2(size))));
__ decode_heap_oop(temp); // calls verify_oop
}
__ add(rscratch2, rscratch2, size);
__ add(rscratch2, rscratch2, 1);
__ b(loop);
__ bind(end);
}

1 comment on commit 4bcffeb

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 4bcffeb Jan 21, 2021

Please sign in to comment.