Hacker News new | ask | show | jobs
by njw45 5342 days ago
Later JVMs do escape analysis, though - so there's not necessarily any difference between the two methods...
1 comments

At least in Oracle Java 1.6 update 24, which is supposed to have escape analysis enabled by default, it is a huge difference. I don't know if Java 7's analysis is smarter.