staticanalysis / data-race-test

Automatically exported from code.google.com/p/data-race-test
0 stars 0 forks source link

Jtsan reports false positives on static synchronized methods #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Jtsan doesn't create LOCK / UNLOCK events on static synchronized methods.

Reproduced on test staticSync
http://code.google.com/p/java-thread-sanitizer/source/browse/trunk/tests/CustomT
ests.java?r=125#129

and staticSync3
http://code.google.com/p/java-thread-sanitizer/source/browse/trunk/tests/CustomT
ests.java?r=125#102

Original issue reported on code.google.com by sergeyvo...@google.com on 11 Oct 2010 at 12:52

GoogleCodeExporter commented 9 years ago
fixed in r129

Original comment by sergeyvo...@google.com on 25 Oct 2010 at 3:21