RFR: Add the code to track object allocation for aarch64

Man Cao manc at openjdk.java.net
Tue May 26 17:57:06 UTC 2020


On Tue, 26 May 2020 17:03:54 GMT, Arthur Eubanks <aeubanks 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

LGTM

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

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


More information about the tsan-dev mailing list