- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Scavenged (0.1 sec)
-
src/runtime/export_test.go
s.scavenger.wake() } // Stop cleans up the scavenger's resources. The scavenger // must be parked for this to work. func (s *Scavenger) Stop() { lock(&s.scavenger.lock) parked := s.scavenger.parked unlock(&s.scavenger.lock) if !parked { panic("tried to clean up scavenger that is not parked") } close(s.stop) s.Wake() <-s.done } type ScavengeIndex struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/metrics_test.go
case "/cpu/classes/idle:cpu-seconds": cpu.idle = samples[i].Value.Float64() case "/cpu/classes/scavenge/assist:cpu-seconds": cpu.scavengeAssist = samples[i].Value.Float64() case "/cpu/classes/scavenge/background:cpu-seconds": cpu.scavengeBg = samples[i].Value.Float64() case "/cpu/classes/scavenge/total:cpu-seconds": cpu.scavengeTotal = samples[i].Value.Float64() case "/cpu/classes/total:cpu-seconds":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/mgc.go
// Reset assist time and background time stats. // // Do this now, instead of at the start of the next GC cycle, because // these two may keep accumulating even if the GC is not active. scavenge.assistTime.Store(0) scavenge.backgroundTime.Store(0) // Reset idle time stat. sched.idleTime.Store(0) if work.userForced { memstats.numforcedgc++ }
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/extern.go
runtime.GC() call. harddecommit: setting harddecommit=1 causes memory that is returned to the OS to also have protections removed on it. This is the only mode of operation on Windows, but is helpful in debugging scavenger-related issues on other platforms. Currently, only supported on Linux. inittrace: setting inittrace=1 causes the runtime to emit a single line to standard
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
src/runtime/runtime2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/proc.go
// https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=50094. if next := timeSleepUntil(); next < now { startm(nil, false, false) } } if scavenger.sysmonWake.Load() != 0 { // Kick the scavenger awake if someone requested it. scavenger.wake() } // retake P's blocked in syscalls // and preempt long running G's if retake(now) != 0 { idle = 0 } else { idle++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)