From 1a09d57de58a90987789ef637083aac21533eeb7 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Tue, 7 Feb 2023 09:09:24 +0000 Subject: runtime: correct typos - Fix typo in throw error message for arena. - Correct typos in assembly and Go comments. - Fix log message in TestTraceCPUProfile. Change-Id: I874c9e8cd46394448b6717bc6021aa3ecf319d16 GitHub-Last-Rev: d27fad4d3cea81cc7a4ca6917985bcf5fa49b0e0 GitHub-Pull-Request: golang/go#58375 Reviewed-on: https://go-review.googlesource.com/c/go/+/465975 Reviewed-by: David Chase Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot --- src/runtime/mpallocbits.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/mpallocbits.go') diff --git a/src/runtime/mpallocbits.go b/src/runtime/mpallocbits.go index f63164becd..2f35ce007c 100644 --- a/src/runtime/mpallocbits.go +++ b/src/runtime/mpallocbits.go @@ -187,7 +187,7 @@ outer: } // Strategy: shrink all runs of zeros by max. If any runs of zero - // remain, then we've identified a larger maxiumum zero run. + // remain, then we've identified a larger maximum zero run. p := max // number of zeros we still need to shrink by. k := uint(1) // current minimum length of runs of ones in x. for { -- cgit v1.3-5-g9baa