[RFR] Get symbolization properly working

Arthur Eubanks aeubanks at google.com
Mon May 20 20:27:46 UTC 2019


Webrev:
http://cr.openjdk.java.net/~aeubanks/tsansymbolizelauncher/webrev.00/index.html

Move TSAN symbolizer function override to launcher

Symbolization doesn't work because __tsan_symbolize_external_ex() is not in
the launcher but in libjvm.so.

Rename the existing __tsan_symbolize_external_ex() to TsanSymbolize() and
export from libjvm.so. Get a pointer to it in libjli. The launcher can call
TsanSymbolize() through libjli in its override of
__tsan_symbolize_external_ex().


Tested by applying the Java memory instrumentation and running the
RacyIntMemberLoopTest test. Symbolization works (although the package name
is missing from the class name).


More information about the tsan-dev mailing list