Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EndCycle (0.11 sec)

  1. src/runtime/export_test.go

    	c.stackScanWork.Add(d.StackScanWork)
    	c.globalsScanWork.Add(d.GlobalsScanWork)
    	c.revise()
    }
    
    func (c *GCController) EndCycle(bytesMarked uint64, assistTime, elapsed int64, gomaxprocs int) {
    	c.assistTime.Store(assistTime)
    	c.endCycle(elapsed, gomaxprocs, false)
    	c.resetLive(bytesMarked)
    	c.commit(false)
    }
    
    func (c *GCController) AddIdleMarkWorker() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    	// In STW mode, re-enable user goroutines. These will be
    	// queued to run after we start the world.
    	schedEnableUser(true)
    
    	// endCycle depends on all gcWork cache stats being flushed.
    	// The termination algorithm above ensured that up to
    	// allocations since the ragged barrier.
    	gcController.endCycle(now, int(gomaxprocs), work.userForced)
    
    	// Perform mark termination. This will restart the world.
    	gcMarkTermination(stw)
    }
    
    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