[Integrated] RFR: Enable array access instrumentation for aarch64

eric.1iu github.com+10482586+erik1iu at openjdk.java.net
Fri May 29 04:12:54 UTC 2020


On Thu, 28 May 2020 07:37:16 GMT, eric.1iu <github.com+10482586+erik1iu at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 5b22e180
Author:    Eric Liu <eric.c.liu at arm.com>
Committer: Arthur Eubanks <aeubanks at openjdk.org>
URL:       https://git.openjdk.java.net/tsan/commit/5b22e180
Stats:     84 lines in 2 files changed: 3 ins; 56 del; 25 mod

Enable array access instrumentation for aarch64

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

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


More information about the tsan-dev mailing list