puniverse / quasar

Fibers, Channels and Actors for the JVM
http://docs.paralleluniverse.co/quasar/
Other
4.56k stars 575 forks source link

:bug: Fix #163 #273

Closed circlespainter closed 7 years ago

circlespainter commented 7 years ago

Here's a possible fix based on call/reply cooperative link/unlink (resp.) via an additional call flag in RequestMessage.

The build was failing on JDK7 only on Travis (tried with the most recent JDK7 on 2 machines and with the same JDK7 version as Travis on the slower machine without being able to reproduce it) and it turns out one supervisor test had become too time-sensitive there, so increased slightly the timeout.

Not sure how to write a reproducible test for this race condition internal to RequestReplyHelper.

circlespainter commented 7 years ago

Closing based on discussion in #163.