3 ms·
"The Java Hotspot Server Compiler implements the flow-insensitive escape analysis algorithm." This is actually a big problem. The key word is "flow-insensitive
by sanxiyn 13y ago
"The Java Hotspot Server Compiler implements the flow-insensitive escape analysis algorithm."
This is actually a big problem. The key word is "flow-insensitive". Because current JVM escape analysis is flow-insensitive, it misses lots of opportunities.
Thankfully, this is changing. Oracle recently published "Partial Escape Analysis" paper http://dl.acm.org/citation.cfm?id=2544157 http://dl.acm.org/citation.cfm?id=2544157 and I hope it will be integrated in future versions of JVM.
- pjmlp 13y agoThis is great! Thanks for pointint it out. I follow Graal since the Maxime days and am looking forward to the day it might replace Hotspot, specially if Truffle comes along. What might already happen in Java 9, given the Graal/HSAIL ongoing work.