Synchronisers: CountDownLatch

Verifying a Java implementation of a countdown latch. The verification uses witness encoding and handles atomic operations (CAS, axiomatised).

General Information

  • Backend: Chalice
  • Language: Java
  • Features: Atomics, Witnesses, Loop invariants
  • Path to Example File: synchronizers/CountDownLatch.java
  • Should Verify: Yes
  • Date: 2017-06-21
  • Lines of Code: 101 (comments not included)
  • Lines of Specification: 60 (59.4% of total)
  • Computation Time: 19.7 seconds