hg: tsan/dev: Support running TSAN without LD_PRELOAD.
manc at google.com
manc at google.com
Fri Apr 12 17:56:54 UTC 2019
Changeset: bf4236bed41c
Author: manc
Date: 2019-04-11 17:30 -0700
URL: http://hg.openjdk.java.net/tsan/dev/rev/bf4236bed41c
Support running TSAN without LD_PRELOAD.
This dynamically links TSAN runtime with the launcher bin/java, and moves
the default suppression list into hard-coded string in the launcher's
source. With this change, we can just use the following command to run
tsan tests:
$ make test TEST="hotspot/jtreg/tsan"
Currently only NonRacyNativeLoopTest fails due to missing lock instrumentation.
Also refactored hotspot.m4 to consolidate TSAN-related code into one block.
- bin/tsan.supp
! make/autoconf/hotspot.m4
! make/autoconf/spec.gmk.in
! make/launcher/Launcher-java.base.gmk
! make/launcher/LauncherCommon.gmk
! src/java.base/share/native/launcher/main.c
More information about the tsan-dev
mailing list