Hi all,

By looking at the source code, and other mail theads in group, I was able 
to understand the sopport of GC by gollvm upto some extend. 

1. If we do not enable the gc (-enable-gc=1), GC assumes all the stack 
memory blocks are pointed to the heap.
2. If gc is enabled, it inserts statepoints and generates the stack map (by 
LLVM). Using that stack map, GC can find where the actual heap references 
are located.

As per my understanding, GC is common for both cases (still I was unbale to 
find the source code for this GC). 

I really appreciate if you can correct me if I am wrong.

Thank you,
Kavindu

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c57dfdf2-dfc4-4f81-b432-739165065d87n%40googlegroups.com.

Reply via email to