3 ms·
This is interesting, and I could even see using it, though I haven't touched Scala in 10 years... but I guess I wonder what the provenance of their GC is? The J
by cmrdporcupine 7y ago
This is interesting, and I could even see using it, though I haven't touched Scala in 10 years... but I guess I wonder what the provenance of their GC is? The JVM's has had three decades of tuning and optimization.
EDIT: I see Boehm and their own home grown. And a "none" which I can see being useful if you have short running processes.
- sjrd 7y agoThe home grown GC is actually an Immix GC at the core. See the original paper at http://www.cs.utexas.edu/users/speedway/DaCapo/papers/immix-pldi-2008.pdf http://www.cs.utexas.edu/users/speedway/DaCapo/papers/immix-...
- densh 7y ago0.3 has our own variation of Immix algorithm [1] [2]. On current development snapshots we've also made it parallel and partially concurrent which is expected to bring major speedups over previous single-thread implementation on applications with medium to large-sized heaps [3]. [1] https://dl.acm.org/citation.cfm?id=1375586 https://dl.acm.org/citation.cfm?id=1375586 [2] https://dl.acm.org/citation.cfm?id=2660198 https://dl.acm.org/citation.cfm?id=2660198 [3] https://github.com/scala-native/scala-native/pull/1423 https://github.com/scala-native/scala-native/pull/1423