|start | find | index | login or register | edit|
by gpoul, 5980 days agoUnfortunately it only discusses the HotSpot VM and while the explanations in the article are correct, quoting them out of context modifies its meaning. i.e. object pooling and explicit nulling still have their place even with 1.4 VMs (HotSpot or not), but as always you have to handle them with care.
Carelessness kills your code.
I'll stop saying so when developers stop arguing with me that their code can not have memory leaks "because it's written in Java" or they're not responsible for garbage collection because garbage collection is done by the JVM. Yeah... sure.
5 active users
|earl.strain.at • esa3 • online for 7062 days • c'est un vanilla site|