On Tuesday, December 12, 2017 at 9:50:57 AM UTC-5, Jan Mercl wrote: > > On Tue, Dec 12, 2017 at 3:39 PM T L <tapi...@gmail.com <javascript:>> > wrote: > > > Does it still valid for the latest gc? > > In other words, does gc 1.9 still check the segment [len(s), cap[s]) of > a slice s to find active pointers? > > It's not an option, the garbage collector must always scan the whole > backing array. > > > > -- > > -j >
Thanks for the confirmation. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.