OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GOGC
(Results
1 - 8
of
8
) sorted by null
/prebuilts/go/darwin-x86/src/runtime/
gc_test.go
19
if os.Getenv("
GOGC
") == "off" {
20
t.Skip("skipping test;
GOGC
=off in environment")
extern.go
17
The
GOGC
variable sets the initial garbage collection target percentage.
20
is
GOGC
=100. Setting
GOGC
=off disables the garbage collector entirely.
mgc.go
115
// the amount already in use. The proportion is controlled by
GOGC
environment variable
116
// (100 by default). If
GOGC
=100 and we're using 4M, we'll GC again when we get to 8M
118
// proportion to the allocation cost. Adjusting
GOGC
just changes the linear constant
157
// For small heaps, this overrides the usual
GOGC
*live set rule.
160
// collecting when the heap reaches
GOGC
*live results in many GC
164
// During initialization this is set to 4MB*
GOGC
/100. In the case of
165
//
GOGC
==0, this will set heapminimum to 0, resulting in constant
170
// defaultHeapMinimum is the value of heapminimum for
GOGC
==100.
173
// Initialized from $
GOGC
.
GOGC
=off means no GC
[
all
...]
/prebuilts/go/linux-x86/src/runtime/
gc_test.go
19
if os.Getenv("
GOGC
") == "off" {
20
t.Skip("skipping test;
GOGC
=off in environment")
extern.go
17
The
GOGC
variable sets the initial garbage collection target percentage.
20
is
GOGC
=100. Setting
GOGC
=off disables the garbage collector entirely.
mgc.go
115
// the amount already in use. The proportion is controlled by
GOGC
environment variable
116
// (100 by default). If
GOGC
=100 and we're using 4M, we'll GC again when we get to 8M
118
// proportion to the allocation cost. Adjusting
GOGC
just changes the linear constant
157
// For small heaps, this overrides the usual
GOGC
*live set rule.
160
// collecting when the heap reaches
GOGC
*live results in many GC
164
// During initialization this is set to 4MB*
GOGC
/100. In the case of
165
//
GOGC
==0, this will set heapminimum to 0, resulting in constant
170
// defaultHeapMinimum is the value of heapminimum for
GOGC
==100.
173
// Initialized from $
GOGC
.
GOGC
=off means no GC
[
all
...]
/prebuilts/go/darwin-x86/src/runtime/debug/
garbage.go
94
// The initial setting is the value of the
GOGC
environment variable
/prebuilts/go/linux-x86/src/runtime/debug/
garbage.go
94
// The initial setting is the value of the
GOGC
environment variable
Completed in 339 milliseconds