News for hackers. Stuff that matters.
Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses by kaba0 on Friday September 17, 2021 @03:18PM (#28569805)
Yes it has escape analysis, but even if it were perfect and correctly recognize every possible pattern, it is still nothing compared to having native support for it in the language and mandate it’s usage throughout the codebase.

One can easily add a single line and “break” the escape analysis, while it is compile time checked with value types.

Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses by throwaway894345 on Friday September 17, 2021 @08:28PM (#28572401)
Go doesn’t have semantics for stack allocation, it also has escape analysis. It’s pretty easy to intuit about the escape analysis, but you have to profile to be sure.