Skip to content

Extend STM and Lin to generate tests with 3 parallel domains #487

@jmid

Description

@jmid

Some parallelism bugs may only show up with 3 parallel processes, see, e.g., Sec.4 of
"Experiences with QuickCheck: Testing the Hard Stuff and Staying Sane"
https://www.cs.tufts.edu/~nr/cs257/archive/john-hughes/quviq-testing.pdf

To have a chance of finding such bugs STM and Lin should be extended from the current 2 Domain.spawns.

This will most likely be an API breaking.

I made a quick proof-of-concept experiment some time back in the trifork-attempt branch:
https://github.com/ocaml-multicore/multicoretests/tree/trifork-attempt

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFor enhancements of the libraries or test suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions