RFR(M): Support running TSAN without LD_PRELOAD.

Man Cao manc at google.com
Fri Apr 12 00:44:01 UTC 2019


Can I have reviews for this:
http://cr.openjdk.java.net/~manc/tsan/20190411/

Commit message:

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.

-Man


More information about the tsan-dev mailing list