RFR(M): Support running TSAN without LD_PRELOAD.

Arthur Eubanks aeubanks at google.com
Fri Apr 12 01:58:04 UTC 2019


TSAN was enabled by default right? I think when this gets upstreamed it
should be off by default, but for our branch this is good.
Awesome that "make test" just works now!

Is it possible to put the TSAN stuff in the gmk higher up so you can use
LIBS instead of LDFLAGS?

On Thu, Apr 11, 2019 at 5:44 PM Man Cao <manc at google.com> wrote:

> 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