- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for gcMark (0.09 sec)
-
src/runtime/mgc.go
return true // root scan work available } return false } // gcMark runs the mark (or, for concurrent GC, mark termination) // All gcWork caches must be empty. // STW is in effect at this point. func gcMark(startTime int64) { if gcphase != _GCmarktermination { throw("in gcMark expecting to see gcphase as _GCmarktermination") } work.tstart = startTime
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/runtime/mgcmark.go
// // Preemption must be disabled (because this uses a gcWork). // // Returns the amount of GC work credit produced by the operation. // If flushBgCredit is true, then that credit is also flushed // to the background credit pool. // // nowritebarrier is only advisory here. // //go:nowritebarrier func markroot(gcw *gcWork, i uint32, flushBgCredit bool) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/runtime/mgcwork.go
// termination check. Specifically, this indicates that this // gcWork may have communicated work to another gcWork. flushedWork bool } // Most of the methods of gcWork are go:nowritebarrierrec because the // write barrier itself can invoke gcWork methods but the methods are // not generally re-entrant. Hence, if a gcWork method invoked the // write barrier while the gcWork was in an inconsistent state, and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 12.9K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/para.go
} // Blank or unindented line ends table. // (So does a new block structure, but the caller has checked that already.) // So does a line with just a pipe: // https://github.com/github/cmark-gfm/pull/127 and // https://github.com/github/cmark-gfm/pull/128 // fixed a buffer overread by rejecting | by itself as a table line. // That seems to violate the spec, but we will play along. b = nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.8K bytes - Viewed (0) -
src/runtime/lock_js.go
} id := scheduleTimeoutEvent(delay) mp := acquirem() notes[n] = gp notesWithTimeout[n] = noteWithTimeout{gp: gp, deadline: deadline} releasem(mp) gopark(nil, nil, waitReasonSleep, traceBlockSleep, 1) clearTimeoutEvent(id) // note might have woken early, clear timeout mp = acquirem() delete(notes, n) delete(notesWithTimeout, n) releasem(mp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 7.3K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/table.go
i++ } if i < len(delim) && delim[i] == '|' { i++ } } if strings.TrimSpace(hdr1) == "|" { // https://github.com/github/cmark-gfm/pull/127 and // https://github.com/github/cmark-gfm/pull/128 // fixed a buffer overread by rejecting | by itself as a table line. // That seems to violate the spec, but we will play along. return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/select.go
// channel locks we risk gp getting readied by a channel operation // and so gp could continue running before everything before the // unlock is visible (even to gp itself). // This must not access gp's stack (see gopark). In // particular, it must not access the *hselect. That's okay, // because by the time this is called, gp.waiting has all // channels in lock order. var lastc *hchan for sg := gp.waiting; sg != nil; sg = sg.waitlink {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 21:36:04 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/compile/internal/test/inl_test.go
"gclinkptr.ptr", "guintptr.ptr", "heapBitsSlice", "markBits.isMarked", "muintptr.ptr", "puintptr.ptr", "spanOf", "spanOfUnchecked", "typePointers.nextFast", "(*gcWork).putFast", "(*gcWork).tryGetFast", "(*guintptr).set", "(*markBits).advance", "(*mspan).allocBitsForIndex", "(*mspan).base", "(*mspan).markBitsForBase", "(*mspan).markBitsForIndex",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
// can close the file. _, err := sect.ReadAt(r, int64(addr-sect.Addr)) if err != nil { log.Fatal(err) } return r } Exitf("cannot find gcmask for %s", ctxt.loader.SymName(s)) return nil } relocs := ctxt.loader.Relocs(s) mask := decodeRelocSym(ctxt.loader, s, &relocs, 2*int32(ctxt.Arch.PtrSize)+8+1*int32(ctxt.Arch.PtrSize)) return ctxt.loader.Data(mask)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/gcinfo_test.go
verifyGCInfo(t, "heap iface", runtime.Escape(new(Iface)), trimDead(infoIface)) } } func verifyGCInfo(t *testing.T, name string, p any, mask0 []byte) { mask := runtime.GCMask(p) if bytes.HasPrefix(mask, mask0) { // Just the prefix matching is OK. // // The Go runtime's pointer/scalar iterator generates pointers beyond // the size of the type, up to the size of the size class. This space
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:58:08 UTC 2023 - 6K bytes - Viewed (0)