Indeed. They are adding value types though. It&#x27;ll take years but once done, this kind of problem shouldn&#x27;t crop up again. They&#x27;ve also been doing work on better escape analysis.<p>The JVM can do a lot of optimisations C++ apps don&#x27;t benefit from, but I think the loss from not having value types more than drowns them out.