[VDBUH22] Jamie Coleman - Simple tweaks to get the most out of your JVM

preview_player
Показать описание
Many developers don’t think about the JVM level when creating applications. It is something that just simply works. Now more applications are becoming cloud-native and we have JVM’s running in every microservice container, each performance gain can have massive benefits when scaled up. Some tweaks are very easy to implement and can have huge impacts on start-up time and performance of your applications. This talk will go through all the different JVM options and give you some easy and simple advice on how to get the most out of your JVM to save not only money but also energy on the cloud.
Рекомендации по теме
Комментарии
Автор

Nice talk.
22:40 — it's actually the opposite :-)

nicoyt
Автор

"Use StringBuilder rather than an StringBuffer" - this is weird advice. Firstly, StringBuilder is not thread-safe so you can't use it as class field (in multi-threaded environment). But even you want to use it locally then you can choose StringBuffer or StringBuilder. It actually doesn't matter. Current JVM is smart enough to remove synchronization blocks if the object is not used outside of the current method.

Strannik