How do garbage collectors know about references on the stack frame?

后端 未结 3 1186
走了就别回头了
走了就别回头了 2021-02-04 13:37

What techniques do modern garbage collectors (as in CLR, JVM) use to tell which heap objects are referenced from the stack?

Specificall

3条回答
  •  春和景丽
    2021-02-04 13:58

    Interesting documentation on this topic posted up by the .Net team shortly after the they made CoreCLR open source: Stack Walking

提交回复
热议问题