From b2ccf12e9872af983152e211b6cb27abb94fa154 Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Wed, 26 Jan 2022 11:55:11 -0800 Subject: [PATCH] src/runtime: fix location of metadata in comment --- src/runtime/gc_conservative.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/gc_conservative.go b/src/runtime/gc_conservative.go index bd8ff1c7..17772447 100644 --- a/src/runtime/gc_conservative.go +++ b/src/runtime/gc_conservative.go @@ -14,7 +14,7 @@ package runtime // any free space, it will perform a garbage collection cycle and try again. If // it still cannot find any free space, it gives up. // -// Every block has some metadata, which is stored at the beginning of the heap. +// Every block has some metadata, which is stored at the end of the heap. // The four states are "free", "head", "tail", and "mark". During normal // operation, there are no marked blocks. Every allocated object starts with a // "head" and is followed by "tail" blocks. The reason for this distinction is