RFR: 8260029: aarch64: fix typo in verify_oop_array

Andrew Haley aph at openjdk.java.net
Thu Jan 21 09:49:46 UTC 2021


On Thu, 21 Jan 2021 02:12:47 GMT, Fei Yang <fyang at openjdk.org> wrote:

> In aarch64 verify_oop_array, we scan over array at 'a' for 'count' oops, verifying each one. The step for the loop should be one for each oop instead of 'size'. We may miss verifying some oops in the array if we set the step to 'size'. Also, we should use 'temp' instead of r16 for the compressed oop case. Register r16 defined but not used in this function.
> 
> Tier1-3 tested with linux-aarch64 fastdebug build.

Marked as reviewed by aph (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/2175


More information about the hotspot-runtime-dev mailing list