Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPeriodicGC (0.63 sec)

  1. src/runtime/gc_test.go

    		hugeSink = new(struct {
    			x float64
    			y [n]*byte
    			z []string
    		})
    		hugeSink = new(struct {
    			x float64
    			y [n]uintptr
    			z []string
    		})
    	}
    }
    
    func TestPeriodicGC(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("no sysmon on wasm yet")
    	}
    
    	// Make sure we're not in the middle of a GC.
    	runtime.GC()
    
    	var ms1, ms2 runtime.MemStats
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top