Y
Hacker News
new
|
ask
|
show
|
jobs
by
pjmlp
870 days ago
The new operator in Java doesn't always heap allocate, it depends on the JIT and escape analysis, it might be stack/register allocated if proven safe to do so.