Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 229 for mheap (0.04 sec)

  1. src/runtime/pinner.go

    func (span *mspan) incPinCounter(offset uintptr) {
    	var rec *specialPinCounter
    	ref, exists := span.specialFindSplicePoint(offset, _KindSpecialPinCounter)
    	if !exists {
    		lock(&mheap_.speciallock)
    		rec = (*specialPinCounter)(mheap_.specialPinCounterAlloc.alloc())
    		unlock(&mheap_.speciallock)
    		// splice in record, fill in offset.
    		rec.special.offset = uint16(offset)
    		rec.special.kind = _KindSpecialPinCounter
    		rec.special.next = *ref
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/internal/trace/event/go122/event.go

    	// Experimental heap span events. Added in Go 1.23.
    	EvSpan      // heap span exists [timestamp, id, npages, type/class]
    	EvSpanAlloc // heap span alloc [timestamp, id, npages, type/class]
    	EvSpanFree  // heap span free [timestamp, id]
    
    	// Experimental heap object events. Added in Go 1.23.
    	EvHeapObject      // heap object exists [timestamp, id, type]
    	EvHeapObjectAlloc // heap object alloc [timestamp, id, type]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. src/net/http/pprof/pprof.go

    //   - gc=N (heap profile): N > 0: run a garbage collection cycle before profiling
    //   - seconds=N (allocs, block, goroutine, heap, mutex, threadcreate profiles): return a delta profile
    //   - seconds=N (cpu (profile), trace profiles): profile for the given duration
    //
    // # Usage examples
    //
    // Use the pprof tool to look at the heap profile:
    //
    //	go tool pprof http://localhost:6060/debug/pprof/heap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/runtime/metrics_test.go

    		case "/memory/classes/heap/objects:bytes":
    			objects.totalBytes = samples[i].Value.Uint64()
    		case "/gc/heap/objects:objects":
    			objects.total = samples[i].Value.Uint64()
    		case "/gc/heap/allocs:bytes":
    			objects.allocdBytes = samples[i].Value.Uint64()
    		case "/gc/heap/allocs:objects":
    			objects.allocs = samples[i].Value.Uint64()
    		case "/gc/heap/allocs-by-size:bytes":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. src/time/tick_test.go

    				return
    			}
    		}
    		t.Errorf("len(C) = %d, want 1", n)
    	}
    
    	// Test simple stop; timer never in heap.
    	tim.Stop()
    	noTick()
    
    	// Test modify of timer not in heap.
    	tim.Reset(10000 * Second)
    	noTick()
    
    	if synctimerchan {
    		// Test modify of timer in heap.
    		tim.Reset(1)
    		Sleep(sched)
    		if l, c := len(C), cap(C); l != 0 || c != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. src/runtime/mspanset.go

    	// span in the heap were stored in this set, and each span were
    	// the minimum size (1 runtime page, 8 KiB), then roughly the
    	// smallest heap which would be unrepresentable is 32 TiB in size.
    	index atomicHeadTailIndex
    }
    
    const (
    	spanSetBlockEntries = 512 // 4KB on 64-bit
    	spanSetInitSpineCap = 256 // Enough for 1GB heap on 64-bit
    )
    
    type spanSetBlock struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc

    Daemons use the JVM's default minimum heap size.
    
    If the requested build environment does not specify a maximum heap size, the Daemon uses up to 512MB of heap.
    512MB is adequate for most builds.
    Larger builds with hundreds of subprojects, configuration, and source code may benefit from a larger heap size.
    
    [[sec:status]]
    == Check Daemon status
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:43:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/runtime/HACKING.md

    In general, types that are allocated using any of these should be
    marked as not in heap by embedding `runtime/internal/sys.NotInHeap`.
    
    Objects that are allocated in unmanaged memory **must not** contain
    heap pointers unless the following rules are also obeyed:
    
    1. Any pointers from unmanaged memory to the heap must be garbage
       collection roots. More specifically, any pointer must either be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/initorder.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    import (
    	"container/heap"
    	"fmt"
    	. "internal/types/errors"
    	"sort"
    )
    
    // initOrder computes the Info.InitOrder for package variables.
    func (check *Checker) initOrder() {
    	// An InitOrder may already have been computed if a package is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/go/types/initorder.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"container/heap"
    	"fmt"
    	. "internal/types/errors"
    	"sort"
    )
    
    // initOrder computes the Info.InitOrder for package variables.
    func (check *Checker) initOrder() {
    	// An InitOrder may already have been computed if a package is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top