RFR: Enable array access instrumentation for aarch64
eric.1iu
github.com+10482586+erik1iu at openjdk.java.net
Thu May 28 07:46:10 UTC 2020
This patch is a subsequent patch of https://github.com/openjdk/tsan/pull/11.
This patch inserts TSAN instrumentation in interpreter at array access
bytecodes like below:
- aaload, baload, caload, daload, iaload, laload, saload
- aastore, bastore, castore, dastore, iastore, lastore, sastore
Besides those normal array access bytecodes, some fast bytecodes (e.g.
fast_icaload) would result in memory access as well. TSAN has disabled
bytecode rewrite in previous patch. This patch inserts assertions
in 'fast_xaccess', 'fast_accessfield' and 'fast_icaload' to make sure
that TSAN would not reach there.
[TEST]
With this patch, all TSAN test cases passed both on x86 and aarch64.
-------------
Commit messages:
- Enable array access instrumentation for aarch64
Changes: https://git.openjdk.java.net/tsan/pull/13/files
Webrev: https://webrevs.openjdk.java.net/tsan/13/webrev.00
Stats: 84 lines in 2 files changed: 56 ins; 3 del; 25 mod
Patch: https://git.openjdk.java.net/tsan/pull/13.diff
Fetch: git fetch https://git.openjdk.java.net/tsan pull/13/head:pull/13
PR: https://git.openjdk.java.net/tsan/pull/13
More information about the tsan-dev
mailing list