I’m sorry I don’t understand the question you are asking but what I see from
those gc times is your go busy() goroutine is blocking the STW1 phase because
Go cannot currently preempt running functions.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
package main
import (
"runtime"
_ "net/http/pprof"
"net/http"
"time"
)
var ch = make(chan struct{},1)
func printMem() {
var mem runtime.MemStats
runtime.ReadMemStats(&mem)
println(mem.HeapObjects)
}
func easy() {
<-ch
}
func bussy() {
sum := 0
for i:=0;i