Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for printunlock (0.65 sec)

  1. src/runtime/mgcscavenge.go

    	)
    	if forced {
    		print(" (forced)")
    	} else if scavenger.printControllerReset {
    		print(" [controller reset]")
    		scavenger.printControllerReset = false
    	}
    	println()
    	printunlock()
    }
    
    // scavengeOne walks over the chunk at chunk index ci and searches for
    // a contiguous run of pages to scavenge. It will try to scavenge
    // at most max bytes at once, but may scavenge more to avoid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    		live := c.heapLive.Load()
    		print("in ", c.triggered, " B -> ", live, " B (∆goal ", int64(live)-int64(c.lastHeapGoal), ", cons/mark ", oldConsMark, ")")
    		println()
    		printunlock()
    	}
    }
    
    // enlistWorker encourages another dedicated mark worker to start on
    // another P if there are spare worker slots. It is used by putfull
    // when more work is made available.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/runtime/lockrank_on.go

    // even though l is not actually locked yet.
    func lockWithRank(l *mutex, rank lockRank) {
    	if l == &debuglock || l == &paniclk || l == &raceFiniLock {
    		// debuglock is only used for println/printlock(). Don't do lock
    		// rank recording for it, since print/println are used when
    		// printing out a lock ordering problem below.
    		//
    		// paniclk is only used for fatal throw/panic. Don't do lock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/shell.go

    	}
    	return &Shell{shellShared: shared}
    }
    
    // Print emits a to this Shell's output stream, formatting it like fmt.Print.
    // It is safe to call concurrently.
    func (sh *Shell) Print(a ...any) {
    	sh.printLock.Lock()
    	defer sh.printLock.Unlock()
    	sh.printFunc(a...)
    }
    
    func (sh *Shell) printLocked(a ...any) {
    	sh.printFunc(a...)
    }
    
    // WithAction returns a Shell identical to sh, but bound to Action a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. src/runtime/lfstack.go

    func lfnodeValidate(node *lfnode) {
    	if base, _, _ := findObject(uintptr(unsafe.Pointer(node)), 0, 0); base != 0 {
    		throw("lfstack node allocated from the heap")
    	}
    	if lfstackUnpack(lfstackPack(node, ^uintptr(0))) != node {
    		printlock()
    		println("runtime: bad lfnode address", hex(uintptr(unsafe.Pointer(node))))
    		throw("bad lfnode address")
    	}
    }
    
    func lfstackPack(node *lfnode, cnt uintptr) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

            }
    
            void add(Statement statement) {
                body.add(statement);
            }
    
            @Override
            public void writeCodeTo(PrettyPrinter printer) {
                printer.printBlock(blockSelector, body);
            }
        }
    
        private static class ScriptBlock extends BlockStatement {
            ScriptBlock(String comment, String blockSelector) {
                super(comment, blockSelector);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  7. src/runtime/mcheckmark.go

    // and otherwise sets obj's checkmark. It returns true if obj was
    // already checkmarked.
    func setCheckmark(obj, base, off uintptr, mbits markBits) bool {
    	if !mbits.isMarked() {
    		printlock()
    		print("runtime: checkmarks found unexpected unmarked object obj=", hex(obj), "\n")
    		print("runtime: found obj at *(", hex(base), "+", hex(off), ")\n")
    
    		// Dump the source (base) object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/runtime/mgcsweep.go

    //
    // 3. The GC two cycles ago missed a pointer and freed a live object,
    // but it was still live in the last cycle, so this GC cycle found a
    // pointer to that object and marked it.
    func (s *mspan) reportZombies() {
    	printlock()
    	print("runtime: marked free object in span ", s, ", elemsize=", s.elemsize, " freeindex=", s.freeindex, " (bad use of unsafe.Pointer? try -d=checkptr)\n")
    	mbits := s.markBitsForBase()
    	abits := s.allocBitsForIndex(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. src/runtime/trace.go

    			if g2 := traceReader(); gp == g2 {
    				// New data arrived between unlocking
    				// and the CAS and we won the wake-up
    				// race, so wake up directly.
    				return false
    			} else if g2 != nil {
    				printlock()
    				println("runtime: got trace reader", g2, g2.goid)
    				throw("unexpected trace reader")
    			}
    
    			return true
    		}, nil, waitReasonTraceReaderBlocked, traceBlockSystemGoroutine, 2)
    		goto top
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	profilehz     int32
    	spinning      bool // m is out of work and is actively looking for work
    	blocked       bool // m is blocked on a note
    	newSigstack   bool // minit on C thread called sigaltstack
    	printlock     int8
    	incgo         bool          // m is executing a cgo call
    	isextra       bool          // m is an extra m
    	isExtraInC    bool          // m is an extra m that is not executing Go code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top