Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 229 for mheap (0.07 sec)

  1. src/runtime/heapdump.go

    	} else {
    		dumpbool(true) // big-endian ptrs
    	}
    	dumpint(goarch.PtrSize)
    	var arenaStart, arenaEnd uintptr
    	for i1 := range mheap_.arenas {
    		if mheap_.arenas[i1] == nil {
    			continue
    		}
    		for i, ha := range mheap_.arenas[i1] {
    			if ha == nil {
    				continue
    			}
    			base := arenaBase(arenaIdx(i1)<<arenaL1Shift | arenaIdx(i))
    			if arenaStart == 0 || base < arenaStart {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/runtime/mbarrier.go

    // the ptr object regardless of the slot's color.
    //
    // Another place where we intentionally omit memory barriers is when
    // accessing mheap_.arena_used to check if a pointer points into the
    // heap. On relaxed memory machines, it's possible for a mutator to
    // extend the size of the heap by updating arena_used, allocate an
    // object from this new region, and publish a pointer to that object,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    	var s *mspan
    	systemstack(func() {
    		lock(&mheap_.lock)
    		s = (*mspan)(mheap_.spanalloc.alloc())
    		unlock(&mheap_.lock)
    	})
    	return (*MSpan)(s)
    }
    
    // Free an allocated mspan.
    func FreeMSpan(s *MSpan) {
    	systemstack(func() {
    		lock(&mheap_.lock)
    		mheap_.spanalloc.free(unsafe.Pointer(s))
    		unlock(&mheap_.lock)
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/runtime/stack.go

    			s = stackLarge.free[log2npage].first
    			stackLarge.free[log2npage].remove(s)
    		}
    		unlock(&stackLarge.lock)
    
    		lockWithRankMayAcquire(&mheap_.lock, lockRankMheap)
    
    		if s == nil {
    			// Allocate a new stack from the heap.
    			s = mheap_.allocManual(npage, spanAllocStack)
    			if s == nil {
    				throw("out of memory")
    			}
    			osStackAlloc(s)
    			s.elemsize = uintptr(n)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof.go

    // output to a writer during profiling.
    //
    // # Heap profile
    //
    // The heap profile reports statistics as of the most recently completed
    // garbage collection; it elides more recent allocation to avoid skewing
    // the profile away from live data and toward garbage.
    // If there has been no garbage collection at all, the heap profile reports
    // all known allocations. This exception helps mainly in programs running
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. test/escape_reflect.go

    }
    
    // Unfortunate: x doesn't need to escape to heap, just to result.
    func slice1(x []byte) []byte { // ERROR "leaking param: x$"
    	v := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	return v.Slice(1, 2).Bytes()
    }
    
    // Unfortunate: x doesn't need to escape to heap, just to result.
    func slice2(x string) string { // ERROR "leaking param: x$"
    	v := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	return v.Slice(1, 2).String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. test/escape2.go

    	*ppi = myprint1(z, 1, 2, 3) // ERROR "... argument escapes to heap$" "1 escapes to heap$" "2 escapes to heap$" "3 escapes to heap$"
    }
    
    func foo75aesc1(z *int) { // ERROR "z does not escape$"
    	sink = myprint1(z, 1, 2, 3) // ERROR "... argument escapes to heap$" "1 escapes to heap$" "2 escapes to heap$" "3 escapes to heap$"
    }
    
    func foo76(z *int) { // ERROR "z does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. test/escape2n.go

    	*ppi = myprint1(z, 1, 2, 3) // ERROR "... argument escapes to heap$" "1 escapes to heap$" "2 escapes to heap$" "3 escapes to heap$"
    }
    
    func foo75aesc1(z *int) { // ERROR "z does not escape$"
    	sink = myprint1(z, 1, 2, 3) // ERROR "... argument escapes to heap$" "1 escapes to heap$" "2 escapes to heap$" "3 escapes to heap$"
    }
    
    func foo76(z *int) { // ERROR "z does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. src/runtime/extern.go

    		#%           percentage of time spent in GC since program start
    		#+...+#      wall-clock/CPU times for the phases of the GC
    		#->#-># MB   heap size at GC start, at GC end, and live heap, or /gc/scan/heap:bytes
    		# MB goal    goal heap size, or /gc/heap/goal:bytes
    		# MB stacks  estimated scannable stack size, or /gc/scan/stack:bytes
    		# MB globals scannable global size, or /gc/scan/globals:bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy

            false                    | MetadataFetchingCost.CHEAP     | MetadataFetchingCost.CHEAP
            false                    | MetadataFetchingCost.FAST      | MetadataFetchingCost.CHEAP
            false                    | MetadataFetchingCost.EXPENSIVE | MetadataFetchingCost.CHEAP
            true                     | MetadataFetchingCost.CHEAP     | MetadataFetchingCost.CHEAP
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top