[RFR] Cleanup and add lots of new tests

Jean Christophe Beyler jcbeyler at google.com
Wed Jun 5 04:25:05 UTC 2019


Hi Arthur,

Looks good to me; by curiosity, why do we allocate two elements for the
arrays?

Thanks,
Jc

On Mon, Jun 3, 2019 at 5:43 PM Arthur Eubanks <aeubanks at google.com> wrote:

> webrev:
> http://cr.openjdk.java.net/~aeubanks/tsanlotsoftests/webrev.00/index.html
>
> Cleanup tests and add lots of new tests
>
> No need for both a jtreg @summary and a class description.
> Add tests that test all combinations of racy/non-racy, array/field,
> bool/byte/char/double/float/int/long/short/String.
> Add tests that test that synchronized blocks, and synchronized blocks with
> an exception are properly handled.
> Add test that static initializer block is not considered racy.
> Use System.out.println() instead of System.out.format() so that we don't
> have to specify the right format string.
>


-- 

Thanks,
Jc


More information about the tsan-dev mailing list