Repository navigation
Commit f237a0b
Mark Pollack
Keep JaCoCo's agent out of Lincheck's classes
A Lincheck class first initialised inside a model-checked operation runs
JaCoCo's probe setup, which takes JaCoCo's lock; Lincheck can switch threads
while it is held, and the test hangs. AcpTurnQueueLincheckTest with a
cancelRunning operation hung this way under JaCoCo on every run (a thread
parked in ManagedThreadScheduler.awaitTurn from VoidResult.<clinit> inside
ExecutionDataStore.get), and passes in 27 s with Lincheck excluded. Coverage
counts only the project's classes, so nothing it measures changes.1 parent 4431f67 commit f237a0b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
596 | 604 | | |
597 | 605 | | |
598 | 606 | | |
| |||
0 commit comments