RFR: Add the code to track object allocation for aarch64

Arthur Eubanks aeubanks at openjdk.java.net
Tue May 26 17:07:16 UTC 2020


On Fri, 22 May 2020 06:59:47 GMT, Jie He <github.com+10233373+jhe33 at openjdk.org> wrote:

> Jdk/tsan has added the code in gc to track the oop move/collect, thus,
> in this patch, what we only need to do is to track the oop allocation
> in interpreter.
> 
> Jdk/tsan builds a hash table to track all oops, oop address as hash key.
> Any move/collect of oop detected by code at the end of each gc will
> update the hash table, then call tsan APIs _tsan_java_move or
> _tsan_java_free to notify llvm/tsan.

lgtm

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

PR: https://git.openjdk.java.net/tsan/pull/12


More information about the tsan-dev mailing list