propensive / fury

A build tool for Scala
28 stars 0 forks source link

Arbitrarily fails when using virtual threads on JDK20 #33

Closed propensive closed 1 year ago

propensive commented 1 year ago

Irk can use virtual or platform threads. Virtual threads should be faster and more memory-efficient, but Irk will sometimes abruptly stop in the middle of compilation. This could be a pre-existing race condition uncovered by using a faster threading system, a lack of awareness of the interchangeability of platform and virtual threads or (least likely) a bug in the beta-release JVM implementation.