Software Transactional Memory aims to give developers the comfort of shared-memory computing model, where data in memory is protected against concurrent access by providing a transactional semantics in a similar way database engines protect their persistent data.

GPars leverages the Multiverse library and provides a straightforward Groovy convenience layer on top of it.

Check out more on the STM support in GPars in the STM section of the user guide.