Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Fray: A controlled concurrency testing framework for the JVM (github.com/cmu-pasta)
4 points by aoli-al 4 months ago | hide | past | favorite | 1 comment
Hi HN,

I’m excited to share Fray, a controlled concurrency testing framework for the JVM. Fray systematically explores different thread interleavings in your concurrency tests, helping to uncover tricky race conditions. It can also deterministically reproduce concurrency-related failures, making debugging significantly easier.

For a deep dive into how Fray is designed, check out our technical report: https://arxiv.org/abs/2501.12618

The Lucene team recently wrote about how Fray helped them diagnose and fix a challenging concurrency bug: https://www.elastic.co/search-labs/blog/optimistic-concurren...

Would love to hear your thoughts and feedback!




Seems so cool and hardcore, for both industry and academia wise. I wish I could have this nice thing in several years ago when I was using Java with some concurrent bugs.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: