|
|
|
|
|
by yunnpp
111 days ago
|
|
Hey, noob question, but does OpenJDK look at variable scope and avoid allocating on the heap to begin with if a variable is known to not escape the function's stack frame? Not strictly related to this post, but I figured it'd be helpful to get an authoritative answer from you on this. |
|