Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for printlock (0.54 sec)

  1. src/runtime/mgcmark.go

    			continue
    		}
    		obj.setRecord(nil) // Don't scan it again.
    		if stackTraceDebug {
    			printlock()
    			print("  live stkobj at", hex(state.stack.lo+uintptr(obj.off)), "of size", obj.size)
    			if conservative {
    				print(" (conservative)")
    			}
    			println()
    			printunlock()
    		}
    		gcdata := r.gcdata()
    		var s *mspan
    		if r.useGCProg() {
    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/mgc.go

    	// worldsema another cycle could start and smash the stats
    	// we're trying to print.
    	if debug.gctrace > 0 {
    		util := int(memstats.gc_cpu_fraction * 100)
    
    		var sbuf [24]byte
    		printlock()
    		print("gc ", memstats.numgc,
    			" @", string(itoaDiv(sbuf[:], uint64(work.tSweepTerm-runtimeInitTime)/1e6, 3)), "s ",
    			util, "%: ")
    		prev := work.tSweepTerm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. src/runtime/mgcscavenge.go

    // application.
    //
    // scavenger.lock must be held.
    func printScavTrace(releasedBg, releasedEager uintptr, forced bool) {
    	assertLockHeld(&scavenger.lock)
    
    	printlock()
    	print("scav ",
    		releasedBg>>10, " KiB work (bg), ",
    		releasedEager>>10, " KiB work (eager), ",
    		gcController.heapReleased.load()>>10, " KiB now, ",
    		(gcController.heapInUse.load()*100)/heapRetained(), "% util",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  4. src/runtime/mgcpacer.go

    			c.consMark = c.lastConsMark[i]
    		}
    	}
    	copy(c.lastConsMark[:], c.lastConsMark[1:])
    	c.lastConsMark[len(c.lastConsMark)-1] = currentConsMark
    
    	if debug.gcpacertrace > 0 {
    		printlock()
    		goal := gcGoalUtilization * 100
    		print("pacer: ", int(utilization*100), "% CPU (", int(goal), " exp.) for ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. src/runtime/mbitmap.go

    	// the Go heap. It may also indicate a runtime
    	// bug.
    	//
    	// TODO(austin): We could be more aggressive
    	// and detect pointers to unallocated objects
    	// in allocated spans.
    	printlock()
    	print("runtime: pointer ", hex(p))
    	if s != nil {
    		state := s.state.get()
    		if state != mSpanInUse {
    			print(" to unallocated span")
    		} else {
    			print(" to unused region of span")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K 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/traceback.go

    	start := true
    	printcomma := func() {
    		if !start {
    			print(", ")
    		}
    	}
    	pi := 0
    	slotIdx := uint8(0) // register arg spill slot index
    printloop:
    	for {
    		o := p[pi]
    		pi++
    		switch o {
    		case abi.TraceArgsEndSeq:
    			break printloop
    		case abi.TraceArgsStartAgg:
    			printcomma()
    			print("{")
    			start = true
    			continue
    		case abi.TraceArgsEndAgg:
    			print("}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top