- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for WriteHeapDump (0.17 sec)
-
src/runtime/debug/heapdump_test.go
"testing" ) func TestWriteHeapDumpNonempty(t *testing.T) { if runtime.GOOS == "js" { t.Skipf("WriteHeapDump is not available on %s.", runtime.GOOS) } f, err := os.CreateTemp("", "heapdumptest") if err != nil { t.Fatalf("TempFile failed: %v", err) } defer os.Remove(f.Name()) defer f.Close() WriteHeapDump(f.Fd()) fi, err := f.Stat() if err != nil { t.Fatalf("Stat failed: %v", err) } const minSize = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 12 00:32:29 UTC 2022 - 2K bytes - Viewed (0) -
src/runtime/debug/garbage.go
// It returns the previous setting. func SetPanicOnFault(enabled bool) bool { return setPanicOnFault(enabled) } // 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
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/heapdump.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Implementation of runtime/debug.WriteHeapDump. Writes all // objects in the heap plus additional info (roots, threads, // finalizers, etc.) to a file. // The format of the dumped file is described at // https://golang.org/s/go15heapdump. package runtime import ( "internal/abi"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/metrics_test.go
}, { name: "runtime/debug.WriteHeapDump", fn: func(t *testing.T) { if runtime.GOOS == "js" { t.Skip("WriteHeapDump not supported on js") } f, err := os.CreateTemp(t.TempDir(), "heapdumptest") if err != nil { t.Fatalf("os.CreateTemp failed: %v", err) } defer os.Remove(f.Name()) defer f.Close() debug.WriteHeapDump(f.Fd()) }, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
api/go1.3.txt
pkg regexp/syntax, method (*Inst) MatchRunePos(int32) int pkg regexp/syntax, method (InstOp) String() string pkg runtime/debug, func SetPanicOnFault(bool) bool pkg runtime/debug, func WriteHeapDump(uintptr) pkg sync, method (*Pool) Get() interface{} pkg sync, method (*Pool) Put(interface{}) pkg sync, type Pool struct pkg sync, type Pool struct, New func() interface{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 02 02:45:00 UTC 2014 - 117K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"SetMaxStack", Func, 2}, {"SetMaxThreads", Func, 2}, {"SetMemoryLimit", Func, 19}, {"SetPanicOnFault", Func, 3}, {"SetTraceback", Func, 6}, {"Stack", Func, 0}, {"WriteHeapDump", Func, 3}, }, "runtime/metrics": { {"(Value).Float64", Method, 16}, {"(Value).Float64Histogram", Method, 16}, {"(Value).Kind", Method, 16}, {"(Value).Uint64", Method, 16},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)