You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aleksey Shipilёv explains in https://shipilev.net/jvm-anatomy-park/8-local-var-reachability/ that the JIT may collect objects early if it is only referenced by local variables that are no longer in use. But we cannot rely on that, as we'd need it to work from the beginning, before the code is JITed.
scala/bug#9137
https://groups.google.com/forum/#!topic/scala-internals/zf36JWUoSAg
Here's a reference to a memory leak caused by inlining a Stream method: scala/scala#4284 (comment)
The text was updated successfully, but these errors were encountered: