Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 238 for growing (0.12 sec)

  1. src/runtime/mgcpacer_test.go

    			length:        50,
    			checker: func(t *testing.T, c []gcCycleResult) {
    				n := len(c)
    				if n > 4 {
    					// After the 4th GC, the heap will stop growing.
    					// First, let's make sure we're finishing near the goal, with some extra
    					// room because we're probably going to be triggering early.
    					assertInRange(t, "goal ratio", c[n-1].goalRatio(), 0.925, 1.025)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  2. src/runtime/signal_windows.go

    		pc--
    	}
    	return isAbortPC(pc)
    }
    
    // isgoexception reports whether this exception should be translated
    // into a Go panic or throw.
    //
    // It is nosplit to avoid growing the stack in case we're aborting
    // because of a stack overflow.
    //
    //go:nosplit
    func isgoexception(info *exceptionrecord, r *context) bool {
    	// Only handle exception if executing instructions in Go binary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. src/runtime/stack_test.go

    	inuse := int64(s1.StackInuse) - int64(s0.StackInuse)
    	t.Logf("Inuse %vMB for stack mem", inuse>>20)
    	if inuse > 4<<20 {
    		t.Fatalf("Stack inuse: want %v, got %v", 4<<20, inuse)
    	}
    }
    
    // Test stack growing in different contexts.
    func TestStackGrowth(t *testing.T) {
    	if *flagQuick {
    		t.Skip("-quick")
    	}
    
    	var wg sync.WaitGroup
    
    	// in a normal goroutine
    	var growDuration time.Duration // For debugging failures
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  4. src/runtime/mspanset.go

    type spanSet struct {
    	// A spanSet is a two-level data structure consisting of a
    	// growable spine that points to fixed-sized blocks. The spine
    	// can be accessed without locks, but adding a block or
    	// growing it requires taking the spine lock.
    	//
    	// Because each mspan covers at least 8K of heap and takes at
    	// most 8 bytes in the spanSet, the growth of the spine is
    	// quite limited.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache.
             * This avoids out-of-control memory consumption, and it keeps the cache from growing so
             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/runtime/debugcall.go

    	//
    	// Debuggers rely on us running on the same thread until we get to
    	// dispatch the function they asked as to.
    	//
    	// We're going to transfer this to the new G we just created.
    	lockOSThread()
    
    	// Create a new goroutine to execute the call on. Run this on
    	// the system stack to avoid growing our stack.
    	systemstack(func() {
    		// TODO(mknyszek): It would be nice to wrap these arguments in an allocated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache.
             * This avoids out-of-control memory consumption, and it keeps the cache from growing so
             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

     *
     * This set also INTENTIONALLY ignores {@link Actions#doNothing()} actions and empty sets as to avoid growing for something that would never do anything.
     *
     * Actions are executed in order of insertion. Duplicates are ignored. Execution stops on the first failure.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr3_multi_project_builds.adoc

    <2> The `app` subproject
    <3> The `app` source code
    <4> The `app` build script
    <5> The optional settings file
    =====
    
    == Step 2. Add another Subproject to the Build
    Imagine that our project is growing and requires a custom library to function.
    
    Let's create this imaginary `lib`.
    First, create a `lib` folder:
    
    [source,text]
    ----
    mkdir lib
    ----
    
    [source,text]
    ----
    cd lib
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/runtime/debug/garbage.go

    func FreeOSMemory() {
    	freeOSMemory()
    }
    
    // SetMaxStack sets the maximum amount of memory that
    // can be used by a single goroutine stack.
    // If any goroutine exceeds this limit while growing its stack,
    // the program crashes.
    // SetMaxStack returns the previous setting.
    // The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems.
    // There may be a system-imposed maximum stack limit regardless
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top