Re:Things that make Go fast
by pjmlp on Saturday June 07, 2014 @05:25AM
(#7861693)
That not, but most Java native code compilers (both JIT and AOT) do a relative good job of escape analysis and transform those new into stack allocations if possible.
Additionally, value types are already available as extensions in some JVMs like IBM's J9.
Additionally, value types are already available as extensions in some JVMs like IBM's J9.
http://www.websphereusergroup.org.uk/wug/files/presentations...
Oracle is also pursuing their metacircular VM project Graal[1], formerly Maxime, which has an improved escape analysis algorithm.
https://wiki.openjdk.java.net/display/Graal/Graal+Partial+Es...
A big mistake many people do when talking about Java, is equating Java with the OpenJDK, when there are lots other implementations to choose from.
[1]Graal is planned to eventually replace Hotspot and is being used for GPGPU support in Java 9