- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 229 for mheap (0.06 sec)
-
src/cmd/compile/internal/types/size.go
if t.IsStruct() { // param offsets depend on ABI f.Offset = offset // If type T contains a field F marked as not-in-heap, // then T must also be a not-in-heap type. Otherwise, // you could heap allocate T and then get a pointer F, // which would be a heap pointer to a not-in-heap type. if f.Type.NotInHeap() { t.SetNotInHeap(true) } } offset += f.Type.width
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
src/runtime/mfinal.go
type finalizer struct { fn *funcval // function to call (may be a heap pointer) arg unsafe.Pointer // ptr to object (may be a heap pointer) nret uintptr // bytes of return values from fn fint *_type // type of first argument of fn ot *ptrtype // type of ptr to object (may be a heap pointer) } var finalizer1 = [...]byte{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 01:56:56 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/arena_test.go
t.Fatal("finalizer queue was never emptied") } if !finalized.Load() { t.Fatal("heap allocation kept alive through non-pointer reference") } // Clean up the arena. a.Free() GC() GC() } func TestUserArenaCloneString(t *testing.T) { a := NewUserArena() // A static string (not on heap or arena) var s = "abcdefghij" // Create a byte slice in the arena, initialize it with s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 13.4K bytes - Viewed (0) -
src/runtime/trace.go
// Prevent sysmon from running any code that could generate events. lock(&sched.sysmonlock) // Grab the minimum page heap address. All Ps are stopped, so it's safe to read this since // nothing can allocate heap memory. trace.minPageHeapAddr = uint64(mheap_.pages.inUse.ranges[0].base.addr()) // Reset mSyscallID on all Ps while we have them stationary and the trace is disabled. for _, pp := range allp {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy
} other.with { jvmArgs = ["-server", "-esa"] } then: !options.isCompatibleWith(other) } def "unspecified heap options are only compatible with unspecified heap options"() { def other1 = new DefaultJavaForkOptions(resolver, fileCollectionFactory, new DefaultJavaDebugOptions())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 25.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
base *Value mask uint64 } // mightBeHeapPointer reports whether v might point to the heap. // v must have pointer type. func mightBeHeapPointer(v *Value) bool { if IsGlobalAddr(v) { return false } return true } // mightContainHeapPointer reports whether the data currently at addresses // [ptr,ptr+size) might contain heap pointers. "currently" means at memory state mem.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
src/runtime/debug/garbage.go
// WriteHeapDump writes a description of the heap and the objects in // it to the given file descriptor. // // WriteHeapDump suspends the execution of all goroutines until the heap // dump is completely written. Thus, the file descriptor must not be // connected to a pipe or socket whose other end is in the same Go // process; instead, use a temporary file or network socket. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/mgcstack.go
// the statically live pointers that may point into the stack. We then // process each pointer to see if it points to a stack object. If it // does, we scan that stack object. It may contain pointers into the // heap, in which case those pointers are passed to the main garbage // collection. It may also contain pointers into the stack, in which // case we add them to our set of stack pointers. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 21:06:52 UTC 2023 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/phi.go
priq.a = append(priq.a, b) hasDef.add(b.ID) if debugPhi { fmt.Printf("def of var%d in %s\n", n, b) } } heap.Init(priq) // Visit blocks defining variable n, from deepest to shallowest. for len(priq.a) > 0 { currentRoot := heap.Pop(priq).(*ssa.Block) if debugPhi { fmt.Printf("currentRoot %s\n", currentRoot) } // Walk subtree below definition.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 15.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode.go
"cmd/link/internal/sym" "fmt" "internal/abi" "internal/buildcfg" "strings" "unicode" ) var _ = fmt.Print type deadcodePass struct { ctxt *Link ldr *loader.Loader wq heap // work queue, using min-heap for better locality ifaceMethod map[methodsig]bool // methods called from reached interface call sites genericIfaceMethod map[string]bool // names of methods called from reached generic interface call sites
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0)