Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for endCheckmarks (0.63 sec)

  1. src/runtime/mcheckmark.go

    			}
    			arena.checkmarks = bitmap
    		} else {
    			// Otherwise clear the existing bitmap.
    			clear(bitmap.b[:])
    		}
    	}
    	// Enable checkmarking.
    	useCheckmark = true
    }
    
    // endCheckmarks ends the checkmarks phase.
    func endCheckmarks() {
    	if gcMarkWorkAvailable(nil) {
    		throw("GC work not flushed")
    	}
    	useCheckmark = false
    }
    
    // setCheckmark throws if marking object is a checkmarks violation,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    			// concurrent mark process.
    			startCheckmarks()
    			gcResetMarkState()
    			gcw := &getg().m.p.ptr().gcw
    			gcDrain(gcw, 0)
    			wbBufFlush1(getg().m.p.ptr())
    			gcw.dispose()
    			endCheckmarks()
    		}
    
    		// marking is complete so we can turn the write barrier off
    		setGCPhase(_GCoff)
    		stwSwept = gcSweep(work.mode)
    	})
    
    	mp.traceback = 0
    	casgstatus(curgp, _Gwaiting, _Grunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top