Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MemProf (0.11 sec)

  1. src/cmd/link/internal/benchmark/bench.go

    			// second GC to force sweep completion so we
    			// get a complete snapshot of the live heap at
    			// the end of this phase.
    			runtime.GC()
    			f, err := os.Create(makePProfFilename(m.filebase, m.curMark.name, "memprof"))
    			if err != nil {
    				panic(err)
    			}
    			err = pprof.WriteHeapProfile(f)
    			if err != nil {
    				panic(err)
    			}
    			err = f.Close()
    			if err != nil {
    				panic(err)
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/runtime/crash_test.go

    		}
    
    		top, err := cmd.CombinedOutput()
    		t.Logf("%s:\n%s", cmd.Args, top)
    		if err != nil {
    			t.Error(err)
    		} else if !bytes.Contains(top, []byte("MemProf")) {
    			t.Error("missing MemProf in pprof output")
    		}
    	}
    }
    
    var concurrentMapTest = flag.Bool("run_concurrent_map_tests", false, "also run flaky concurrent map tests")
    
    func TestConcurrentMapWrites(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top