GC: enable precise global/thread local storage tracing
This commit is contained in:
parent
24a6583fa7
commit
f1089db175
4 changed files with 47 additions and 63 deletions
|
|
@ -401,6 +401,7 @@ var
|
|||
globalMarkers: array[0.. 3499, GlobalMarkerProc]
|
||||
threadLocalMarkersLen: int
|
||||
threadLocalMarkers: array[0.. 3499, GlobalMarkerProc]
|
||||
gHeapidGenerator: int
|
||||
|
||||
proc nimRegisterGlobalMarker(markerProc: GlobalMarkerProc) {.compilerProc.} =
|
||||
if globalMarkersLen <= high(globalMarkers):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue