add pointer writebarrier note
This commit is contained in:
parent
5ce6c4141c
commit
8d41f4151b
@ -769,6 +769,7 @@ allocate it. But you also pay every time the garbage collection runs.
|
|||||||
* pointer-free map keys
|
* pointer-free map keys
|
||||||
* GOGC
|
* GOGC
|
||||||
* buffer reuse (sync.Pool vs or custom via go-slab, etc)
|
* buffer reuse (sync.Pool vs or custom via go-slab, etc)
|
||||||
|
* slicing vs. offset: pointer writes while GC is running need writebarrier: https://github.com/golang/go/commit/b85433975aedc2be2971093b6bbb0a7dc264c8fd
|
||||||
|
|
||||||
## Runtime and compiler
|
## Runtime and compiler
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user