JetBrains / lincheck

Framework for testing concurrent data structures
Mozilla Public License 2.0
576 stars 33 forks source link

Do not call `Thread.stop()` #214

Closed ndkoval closed 7 months ago

ndkoval commented 1 year ago

Do not call Thread.stop(), it does nothing and is no longer supported in JDK 20

Fixes #210

ndkoval commented 8 months ago

If we simply get rid of Thread.stop(), threads may keep running, which significantly slows down the build.

A possible solution would be to run the "bad" tests in separate VMs.

ndkoval commented 7 months ago

Another approach will be provided in #271