[Rev 01] RFR: Add aarch64 specific lock/unlock tsan instruments

Jie He github.com+10233373+jhe33 at openjdk.java.net
Fri May 8 04:21:01 UTC 2020


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

Jie He has refreshed the contents of this pull request, and previous commits have been removed. The incremental views
will show differences compared to the previous content of the PR. The pull request contains one new commit since the
last revision:

  Add aarch64 specific lock/unlock tsan instruments
  
  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.
  
  TEST_IMG: ubuntu/openjdk-test
  
  TEST_CMD: safe projects/jdk/build-test.sh \
  TEST_CMD:   --debug-level fastdebug \
  TEST_CMD:   --configure-args " \
  TEST_CMD:   --with-toolchain-type=clang,\
  TEST_CMD:   --with-toolchain-path=/usr/lib/llvm-8/bin" \
  TEST_CMD:   --vmopts "-Djdk.lang.processReaperUseDefaultStackSize=true" \
  TEST_CMD:   --scope hotspot:tsan/NonRacyIntMemberLoopTest.java
  
  Change-Id: I0ba34e85267f32ce236a1ae0282e71ce9568feb5
  Jira: ENTLLT-2812

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

Changes:
  - all: https://git.openjdk.java.net/tsan/pull/9/files
  - new: https://git.openjdk.java.net/tsan/pull/9/files/7b4a7479..c077b1bc

Webrevs:
 - full: https://webrevs.openjdk.java.net/tsan/9/webrev.01
 - incr: https://webrevs.openjdk.java.net/tsan/9/webrev.00-01

  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/tsan/pull/9.diff
  Fetch: git fetch https://git.openjdk.java.net/tsan pull/9/head:pull/9

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


More information about the tsan-dev mailing list