[go-nuts] [gollvm] Question related to RewriteStatepointsForGC pass

2021-07-19 Thread Kavindu Gimhan Zoysa
Hi all, After running RewriteStatepointsForGC pass in llvm (using opt-11 --rewrite-statepoints-for-gc), we can see live pointers are added to the go.statepoint intrinsic as shown https://llvm.org/docs/Statepoints.html#rewritestatepointsforgc. But for the below example, if I run the command *l

Re: [go-nuts] Tools to extract packages?

2021-07-19 Thread 'Sebastien Binet' via golang-nuts
Hi, Jul 18, 2021 20:42:35 Andy Bursavich : > In the Kubernetes ecosystem, I frequently run into a problem where I want to > use some custom resource but its API package is in the same module as its > controller (and loads of other crap) that have a massive dependency chain > (often broken and

[go-nuts] Re: How to Optimize A Golang Application Which Has More Than 100 Million Objects at Peak?

2021-07-19 Thread Sen Han
Thanks a lot. You are so kind and nice :-D I tried golang's heap profile and it is very very helpful. By the way, what do you think about this article: https://dgraph.io/blog/post/manual-memory-management-golang-jemalloc/ 在2021年7月18日星期日 UTC+8 下午11:27:38 写道: > Two other replies have menti

[go-nuts] TLS ticket based session resumption

2021-07-19 Thread minc....@gmail.com
Hello, Is there any sample code for both client side and server side to demonstrate the TLS ticket based session resumption? I took a look at the tests in handshake_client_test.go, it just calls the "handshake" method twice. What does the TLS session resumption work in real case scenario? Tha

[go-nuts] Re: How to Optimize A Golang Application Which Has More Than 100 Million Objects at Peak?

2021-07-19 Thread rmfr
Thanks a lot! You are so kind and nice :-D I tried golang's heap profile and found it is very helpful. By the way, what do you think about this article: https://dgraph.io/blog/post/manual-memory-management-golang-jemalloc/ On Sunday, July 18, 2021 at 11:27:38 PM UTC+8 jake...@gmail.com wrot