3 ms·
Really impressive results. Sorry for my ignorance on the topic, but will this have any impact on other JVM languages or will this mostly only benefit Java itse
by olodus 6y ago
Really impressive results.
Sorry for my ignorance on the topic, but will this have any impact on other JVM languages or will this mostly only benefit Java itself?
I realize even though I use JVM languages now and then I do not really know if they use their own GC implementation or make use of Java's. Does this differ between the languages maybe?
- buryat 6y agothis will work for any language that runs on top of JVM, that’s the beauty of the JVM, improvements benefit all its languages
- jfengel 6y agoThe JVM has its own garbage collector. Every language uses it. There may be tiny differences in the way code generators and optimizers work, which mean they may not get exactly the same properties out of equivalent code. For example, if they're generating a lot of objects behind the scenes, the GC improvements might help more, or less, or even do worse. But that's the kind of thing that's really dependent on the algorithm you've implemented. So mostly likely you get some benefit for free. If you don't, you'll need to benchmark to find out. The optimizers do a lot of work for you (and the JVM does a ton of language-independent optimization), but some things are up to experiment.