]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: change lfstack support to taggedPointer
authorIan Lance Taylor <iant@golang.org>
Fri, 14 Apr 2023 21:36:12 +0000 (14:36 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 18 Apr 2023 20:22:50 +0000 (20:22 +0000)
commitd959dd97b12f4067c8511fb11493e3bf47eb9737
tree519aee3698fa3e8a47ab7f3ef76bce6d51bcad30
parentfd786a550a0ca004725cba2f49fd8ee86ef22b10
runtime: change lfstack support to taggedPointer

This is a refactoring with no change in behavior, in preparation
for future netpoll work.

For #59545

Change-Id: I493c5fd0f49f31b75787f7b5b89c544bed73f64f
Reviewed-on: https://go-review.googlesource.com/c/go/+/484836
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Orlando Labao <orlando.labao43@gmail.com>
src/runtime/lfstack.go
src/runtime/lfstack_32bit.go [deleted file]
src/runtime/malloc.go
src/runtime/tagptr.go [new file with mode: 0644]
src/runtime/tagptr_32bit.go [new file with mode: 0644]
src/runtime/tagptr_64bit.go [moved from src/runtime/lfstack_64bit.go with 51% similarity]