[RFR]: Field suppression list

Arthur Eubanks aeubanks at google.com
Mon Jul 1 22:47:42 UTC 2019


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

Add a new flag -XX:ThreadSanitizerIgnoreFile=path/to/ignorefile. The file
is parsed for patterns like

# To whitelist field myBaz in a class named com.foo.Bar
com.foo.Bar myBaz
# Every field with primitive type starting with my in that class:
com.foo.Bar my*
# And every primitive field in package com.foo:
com.foo.* *

and those fields are ignored in regards to TSAN.


More information about the tsan-dev mailing list