Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
by throwaway894345 on Friday September 17, 2021 @09:31AM
(#28565263)
Without digging into that benchmark, Go leans on stack allocation a lot more than many GC languages, and that’s a big part of why Go is able to achieve otherwise impressive performance. The same mechanism (idiomatic value types) that allows Go to elide GC in many cases also permits better cache coherency—there are fewer pointers into random regions of the heap so cache lines need to be flushed less frequently.
[ Parent
| on HN ]
There are no comments on this comment yet.