Hi,
The code in the map_swiss.go and map_noswiss.go is virtually the same.
Have the swiss tables been implemented yet?
https://github.com/golang/go/blob/master/src/runtime/map_swiss.go
https://github.com/golang/go/blob/master/src/runtime/map_noswiss.go
There is nothing in the map_swiss.go fil
Hi,
I have a question about building go source code to run the tests go swiss
maps experiments.
first off,
There are tests with the same name in map_swiss_test.go and
map_noswiss_test.go, and when I *go test -run TestMapIterOrder, *it is by
default running the test in map_noswiss_test.go, so
Hello,
If I wanted to clone the google source code with a pending pull request
(such as https://go-review.googlesource.com/c/go/+/596035 ) how would I do
it?
My goal is to test the pull request.
apologies if I shouldn't have asked on this channel
--
You received this message because you a
I'm trying to debug a problem in the go runtime and wished to use the
debuglog.go features found in
https://github.com/golang/go/blob/master/src/runtime/debuglog.go
However, when I follow the example
here https://github.com/golang/go/issues/59600#issuecomment-1515040287
d := dlog() if d != n
Hi, can anyone explain what the headers (in bold) refer to in mutex
profiles? Is it documented somewhere? Thank you
*871400731000 26738165 @ 0x81c8d94 0x81c8d93 0x81c88d7 0x8444386 0x82353a1*
# 0x81c8d93 runtime.unlock+0x4b3 /usr/local/go/src/runtime/lock_sema.go:103
# 0x81c8d92 runtime.chans
In the document HACKING.md
(https://github.com/golang/go/blob/master/src/runtime/HACKING.md), it
states that we can determine if we're running on the user or system stack
by running `getg() == getg().m.curg`.
However if the output of that equality check is true, does that mean we're
on user o
Consider the following scenario. I make a commit to the Golang source code
repo (at https://go.googlesource.com/go) A reviewer gives me feedback and I
need to amend my changes. While a change is in review the HEAD of the
target branch can change, in which case a rebase is necessary as described
I have a question about scavenging arising one of the runtime tests in
runtime/mpagealloc.go. The test in question is the " AllFree1" test case in
TestPageAllocAlloc.
According to my understanding, in the runtime, there is a distinction
between reclaiming memory and scavenging memory. Reclaimi
Is it possible that some PauseNs numbers are so small that they're rounded
down to 0?
On Monday, January 29, 2024 at 9:45:32 AM UTC-5 Leah Stapleton wrote:
> go version go1.21.5 windows/amd64
>
> There have been 9 garbage collections according to NumGC and also the
> PauseE
go version go1.21.5 windows/amd64
There have been 9 garbage collections according to NumGC and also the
PauseEnd array; However, the PauseNs array only shows two pause times, and
they are incorrectly positioned in the array (the first time is logged at
PauseNs[4] rather than PauseNs[0])
Can an
10 matches
Mail list logo