Commit 7f9ec286 authored by Kunshan Wang's avatar Kunshan Wang

GC scans thread-local objref

parent a52e314d
......@@ -71,6 +71,8 @@ class AllScanner(val handler: RefFieldHandler)(
private def traceThreads() {
for (thr <- microVM.threadStackManager.iterateAllLiveThreads) {
logger.debug(s"Tracing thread-local objref of ${thr.id}")
this.boxToHeap(thr.threadLocal)
logger.debug(s"Tracing live thread ${thr.id} for its stack")
this.threadToStack(thr, thr.stack)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment