Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for markroot (0.27 sec)

  1. src/runtime/mgcmark.go

    // purely for debugging.
    func gcMarkRootCheck() {
    	if work.markrootNext < work.markrootJobs {
    		print(work.markrootNext, " of ", work.markrootJobs, " markroot jobs done\n")
    		throw("left over markroot jobs")
    	}
    
    	// Check that stacks have been scanned.
    	//
    	// We only check the first nStackRoots Gs that we should have scanned.
    	// Since we don't care about newer Gs (see comment in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/runtime/HACKING.md

       collection roots. More specifically, any pointer must either be
       accessible through a global variable or be added as an explicit
       garbage collection root in `runtime.markroot`.
    
    2. If the memory is reused, the heap pointers must be zero-initialized
       before they become visible as GC roots. Otherwise, the GC may
       observe stale heap pointers. See "Zero-initialization versus
       zeroing".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/runtime/mfinal.go

    				reflectcall(nil, unsafe.Pointer(f.fn), frame, uint32(framesz), uint32(framesz), uint32(framesz), &regs)
    				fingStatus.And(^fingRunningFinalizer)
    
    				// Drop finalizer queue heap references
    				// before hiding them from markroot.
    				// This also ensures these will be
    				// clear if we reuse the finalizer.
    				f.fn = nil
    				f.arg = nil
    				f.ot = nil
    				atomic.Store(&fb.cnt, i-1)
    			}
    			next := fb.next
    			lock(&finlock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    	// close.
    	//
    	// Put this field here because it needs 64-bit atomic access
    	// (and thus 8-byte alignment even on 32-bit architectures).
    	bytesMarked uint64
    
    	markrootNext uint32 // next markroot job
    	markrootJobs uint32 // number of markroot jobs
    
    	nproc  uint32
    	tstart int64
    	nwait  uint32
    
    	// Number of roots of various root types. Set by gcMarkRootPrepare.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            executedAndNotSkipped ':jar', ':unpackJar'
        }
    
        private def createTar(String name, Closure cl) {
            TestFile tarRoot = file("${name}.root")
            tarRoot.deleteDir()
            TestFile tar = file(name)
            tar.delete()
            tarRoot.create(cl)
            tarRoot.tarTo(tar)
        }
    
        private def createFilesStructureForDupeTests() {
            createDir('dir1', {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            !file('build').exists()
        }
    
        private def createTar(String name, Closure cl) {
            TestFile tarRoot = file("${name}.root")
            tarRoot.deleteDir()
            TestFile tar = file(name)
            tar.delete()
            tarRoot.create(cl)
            tarRoot.tarTo(tar)
        }
    
        private String defineUpdateTask(String archiveType) {
            return """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top