Change-Id: Id9d9bc5377f32296d7970a2fe77e2cab51d0108c
This commit is contained in:
qiulaidongfeng 2024-02-07 15:06:59 +08:00
parent f081141856
commit e66128e63b
2 changed files with 1 additions and 2 deletions

View file

@ -642,7 +642,6 @@ func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
cgoCheckArg(f.Typ, add(p, f.Offset), true, top, msg)
}
case abi.Pointer, abi.UnsafePointer:
if indir {
p = *(*unsafe.Pointer)(p)
if p == nil {

View file

@ -378,7 +378,7 @@ type workType struct {
// markDoneSema protects transitions from mark to mark termination.
markDoneSema uint32
bgMarkDone uint32 // cas to 1 when at a background mark completion point
bgMarkDone uint32 // cas to 1 when at a background mark completion point
// Background mark completion signaling
// mode is the concurrency mode of the current GC cycle.