News for hackers. Stuff that matters.
Re:Allocation is cheap in .NET until it is not by chrisseaton on Wednesday January 24, 2018 @07:37PM (#16227741)
> Does java detect that this escaped the stack? How?

Well you assigned the instance to a global variable. That's how Java knows. If you can see that then so can the Java compiler.

There are no comments on this comment yet.