RFR: Add the code to track object allocation for aarch64

Jie He github.com+10233373+jhe33 at openjdk.java.net
Tue May 26 05:02:13 UTC 2020


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.

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

Commit messages:
 - Add the code to track object allocation for aarch64

Changes: https://git.openjdk.java.net/tsan/pull/12/files
 Webrev: https://webrevs.openjdk.java.net/tsan/12/webrev.00
  Stats: 8 lines in 1 file changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/tsan/pull/12.diff
  Fetch: git fetch https://git.openjdk.java.net/tsan pull/12/head:pull/12

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


More information about the tsan-dev mailing list