RFR: Add aarch64 specific lock/unlock tsan instruments

Arthur Eubanks aeubanks at openjdk.java.net
Thu May 7 16:33:26 UTC 2020


On Thu, 7 May 2020 11:14:26 GMT, Jie He <github.com+10233373+jhe33 at openjdk.org> wrote:

> Add aarch64 specific lock/unlock instruments into interpreter and
> runtime.
> 
> Update an assertion in aarch64 due to different memory layout.
> 
> With tsan enabled, too small java stack often causes SOE, especially
> thread "process reaper". Therefore, for running jtreg test in aarch64,
> we have to set jdk.lang.processReaperUseDefaultStackSize as true.

What do you think about making the `16` based on the arch?

`assert((id_u8 & left_n_bits(16)) == 0, "jmethodID is not aligned");`

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

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


More information about the tsan-dev mailing list