- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for traceLockInit (0.52 sec)
-
src/runtime/traceruntime.go
inSweep bool // swept and reclaimed track the number of bytes swept and reclaimed // by sweeping in the current sweep loop (while maySweep was true). swept, reclaimed uintptr } // traceLockInit initializes global trace locks. func traceLockInit() { // Sharing a lock rank here is fine because they should never be accessed // together. If they are, we want to find out immediately. lockInit(&trace.stringTab[0].lock, lockRankTraceStrings)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/runtime/proc.go
lockInit(&finlock, lockRankFin) lockInit(&cpuprof.lock, lockRankCpuprof) allocmLock.init(lockRankAllocmR, lockRankAllocmRInternal, lockRankAllocmW) execLock.init(lockRankExecR, lockRankExecRInternal, lockRankExecW) traceLockInit() // Enforce that this lock is always a leaf lock. // All of this lock's critical sections should be // extremely short. lockInit(&memstats.heapStats.noPLock, lockRankLeafRank)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)