Re: [go-nuts] GC: How was the object tree build?

2019-07-25 Thread ding liu
Thanks 在 2019年7月25日星期四 UTC+8下午1:46:04,Ian Lance Taylor写道: > > On Wed, Jul 24, 2019 at 5:37 AM ding liu > > wrote: > > > > We know Go`s GC mark than can check all objects begin from root object. > But how to build the object tree? I cann`t find any code in runtime, or any > document. Any body

[go-nuts] Re: [ANN] A GC-friendly and fast StatsD client

2019-07-25 Thread tquocpham
Hi there! Is there a way to have a client reconnect after an initial failed connection? Thanks Tim -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+un

Re: [go-nuts] Excluding DWARF entries from binary

2019-07-25 Thread Ian Lance Taylor
On Thu, Jul 25, 2019 at 10:12 AM Jose Pina Coelho wrote: > > I'm trying to get golang running on AIX 7.1 (pp64). I've tried > cross-compiling on Linux x86_64, but the resulting binary has DWARF entries > that aren't recognized by the AIX loader. > > Is there a way to build a binary without the

[go-nuts] Excluding DWARF entries from binary

2019-07-25 Thread Jose Pina Coelho
Hi, I'm trying to get golang running on AIX 7.1 (pp64). I've tried cross-compiling on Linux x86_64, but the resulting binary has DWARF entries that aren't recognized by the AIX loader. Is there a way to build a binary without the DWARF entries ? Regards, JP. -- You received this message bec

[go-nuts] Re: go question about goroutines

2019-07-25 Thread B Carr
I think the answer to this is No and Yes. On Wednesday, July 24, 2019 at 2:18:07 PM UTC-6, joe mcguckin wrote: > > > If I have multiple go applications running, do they share the same > runtime? Or does each one have it's own runtime and set of threads, etc. > -- You received this message beca

Re: [go-nuts] P-local/M-local storage for goroutines?

2019-07-25 Thread Robert Engels
A sync.Map is lock free on read, and a single lock on writes and so will out perform this solution in all cases. That being said, there are some perf issues with sync.Map - see the project I referred to earlier. The OP still hasn’t provided detailed information on the access patterns - at le

Re: [go-nuts] P-local/M-local storage for goroutines?

2019-07-25 Thread Jesper Louis Andersen
On Wed, Jul 24, 2019 at 6:05 PM Zihan Yang wrote: > I should have said that my evaluation is just self-written cycle > measurement, which is very rough and lack of repeated experiment. So the > factor number might be different in your case. But the contention for the > single sync.Mutex really hi

Re: [External] Re: [go-nuts] channels as trylocks

2019-07-25 Thread 'Shivaram Lingamneni' via golang-nuts
On Thu, Jul 25, 2019 at 1:44 AM Ian Lance Taylor wrote: > > On Wed, Jul 24, 2019 at 11:24 AM shivaram via golang-nuts > wrote: > > > > Several sources, including this issue comment: > > > > https://github.com/golang/go/issues/27544#issuecomment-419265234 > > > > state that a buffered channel of s