Descriptionreflect: store unsafe.Pointer in {Slice,String}Header
This is in order to mark these types as containing pointers, so the gc won't free the memory behind the Data field from under us.
Patch Set 1 #Patch Set 2 : diff -r 1acad3f73535 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r f6f99bbc5576 https://go.googlecode.com/hg/ #
Total comments: 1
MessagesTotal messages: 9
|