Thank you Ian!

Le mercredi 18 mars 2020 23:20:15 UTC+4, Ian Lance Taylor a écrit :
>
> On Wed, Mar 18, 2020 at 9:33 AM Vincent Blanchon 
> <blancho...@gmail.com <javascript:>> wrote: 
> > 
> > In this proposal 
> https://github.com/golang/proposal/blob/master/design/24543-non-cooperative-preemption.md,
>  
> it is mentioned past-the-end pointer and the fact it should be avoided. My 
> assumption is that it could lead to a bad memory tracking/cleaning since 
> the write barriers keep track of the change in the pointers. Is that 
> correct? 
>
> Pretty much, yes.  A past-the-end pointer looks like a pointer to the 
> next object, and the write barrier can't tell the difference. 
>
> Ian 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ed6c6b51-0c19-4ccc-847f-48d629570016%40googlegroups.com.

Reply via email to