Skip to content

Commit 9c54f87

Browse files
WangLeonardprattmic
authored andcommitted
runtime: remove GODEBUG=scavenge mode
Change-Id: Ic4c7b5086303c7faa49f4cbf6738e66d5de35c7e Reviewed-on: https://go-review.googlesource.com/c/go/+/282012 Trust: Michael Pratt <[email protected]> Run-TryBot: Michael Pratt <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Austin Clements <[email protected]>
1 parent 9a40dee commit 9c54f87

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/runtime/extern.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ It is a comma-separated list of name=val pairs setting these named variables:
110110
with a trivial allocator that obtains memory from the operating system and
111111
never reclaims any memory.
112112
113-
scavenge: scavenge=1 enables debugging mode of heap scavenger.
114-
115113
scavtrace: setting scavtrace=1 causes the runtime to emit a single line to standard
116114
error, roughly once per GC cycle, summarizing the amount of work done by the
117115
scavenger as well as the total amount of memory returned to the operating system

src/runtime/runtime1.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ var debug struct {
310310
gctrace int32
311311
invalidptr int32
312312
madvdontneed int32 // for Linux; issue 28466
313-
scavenge int32
314313
scavtrace int32
315314
scheddetail int32
316315
schedtrace int32
@@ -339,7 +338,6 @@ var dbgvars = []dbgVar{
339338
{"invalidptr", &debug.invalidptr},
340339
{"madvdontneed", &debug.madvdontneed},
341340
{"sbrk", &debug.sbrk},
342-
{"scavenge", &debug.scavenge},
343341
{"scavtrace", &debug.scavtrace},
344342
{"scheddetail", &debug.scheddetail},
345343
{"schedtrace", &debug.schedtrace},

0 commit comments

Comments
 (0)