Hacker News new | ask | show | jobs
by haglin 3168 days ago
JDK 9 also comes with compact strings which can reduce the heap with 5-15%[1] and with -XX:+UseStringDeduplication, AppCDS and AOT the memory footprint can be reduced even more.

[1] https://www.infoq.com/news/2016/02/compact-strings-Java-JDK9