3 ms·
A Parametric VM [1] is part of Java's project Valhalla. However, it is currently some releases away. [1] https://cr.openjdk.java.net/~jrose/values/parametric-v
by kasperni 6y ago
A Parametric VM [1] is part of Java's project Valhalla. However, it is currently some releases away.
[1] https://cr.openjdk.java.net/~jrose/values/parametric-vm.pdf https://cr.openjdk.java.net/~jrose/values/parametric-vm.pdf
- _old_dude_ 6y agoVery cool, it seems to be the best of both worlds, the specialization of the class/fields is done the first time a specialized type is instantiated while the specialization of methods is done by the JIT. And the VM can specialize on any values, not just types.