[RFR]: Suppress list
Arthur Eubanks
aeubanks at google.com
Wed Apr 3 20:20:16 UTC 2019
http://cr.openjdk.java.net/~aeubanks/tsansupp/webrev.00/
Add a suppress list, currently consisting of libjvm.so and libjimage.so.
This can be used with TSAN_OPTIONS=suppressions=path/to/jdk/bin/tsan.supp.
Eventually we want to use __tsan_default_suppressions() so we don't have an
extra file. However, when I add __tsan_default_suppressions(), it doesn't
get called by TSAN. I think it's because __tsan_init() (which calls
__tsan_default_suppressions()) is called too early (LD_PRELOAD time?) and
our overridden __tsan_default_suppressions() is not available yet. Might be
solved by statically linking TSAN.
More information about the tsan-dev
mailing list