3 ms·Java has done escape analysis and scalar replacement since 6.by pkulak 4y agoJava has done escape analysis and scalar replacement since 6.