From f324355d1f482362b87ec4f95ceac00d4b4de797 Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Fri, 19 Aug 2022 18:35:42 +0700 Subject: [PATCH] runtime: remove pageAlloc.scav padding for atomic field alignment CL 404096 makes atomic.Int64 8 bytes aligned everywhere. Change-Id: I5a676f646260d6391bb071f9376cbdb1553e6e6f Reviewed-on: https://go-review.googlesource.com/c/go/+/424925 Auto-Submit: Cuong Manh Le Reviewed-by: Joedian Reid TryBot-Result: Gopher Robot Run-TryBot: Cuong Manh Le Reviewed-by: Michael Knyszek --- src/runtime/mpagealloc.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/runtime/mpagealloc.go b/src/runtime/mpagealloc.go index 5de25cfe00..bb30b4a40b 100644 --- a/src/runtime/mpagealloc.go +++ b/src/runtime/mpagealloc.go @@ -280,8 +280,6 @@ type pageAlloc struct { // Updated atomically. released uintptr - _ uint32 // Align assistTime for atomics on 32-bit platforms. - // scavengeAssistTime is the time spent scavenging in the last GC cycle. // // This is reset once a GC cycle ends. -- 2.50.0