Hacker News new | ask | show | jobs
by cmjqol 2909 days ago
Most of the problems raised in this paper from 2015 have been acknowledge by the JVM architect in a 2017 talk[0] , and are know in the work of getting fixed.

JVM is getting Fibers , Non Mutable Array (which would prevent from race condition) and other important upgrade to make the VM safer and faster.

Obviously this will take years before being ready.

[0]https://www.youtube.com/watch?v=OMk5KoUIOy4

2 comments

In the talk (starts at 24:50) he speaks about adding something like goroutines to JVM and expresses his belief that it can somehow solve concurrency. It solves basically nothing mentioned in the paper, since paper's focus is on fundamental shared state concurrency problems and sharing state won't change a bit.
You can use JVM fibers now with Quasar and Comsat, and Guava provides a whole cast of immutable data structures.

Direct support would be more efficient but because of Java's heavy JIT'ing you can get near native performance now