5 #if defined(DO_RUNTIME_TRACE_UPDATES)
7 /********** Debugging Tracing of Updates ***********/
9 /* These will only be called if StgUpdate.h macro calls
10 compiled with -DDO_RUNTIME_TRACE_UPDATES
13 extern I_ traceUpdates; /* a Bool, essentially */
16 TRACE_UPDATE_Ind(updclosure,heapptr)
17 P_ updclosure,heapptr;
21 fprintf(stderr,"Upd Ind %s Gen: 0x%lx -> 0x%lx\n",
22 (updclosure) <= StorageMgrInfo.OldLim ? "Old" : "New",
23 (W_) updclosure, (W_) heapptr);
27 fprintf(stderr,"Upd Ind: 0x%lx -> 0x%lx\n",
28 (W_) updclosure, (W_) heapptr);
34 TRACE_UPDATE_Inplace_NoPtrs(updclosure)
39 fprintf(stderr,"Upd Inplace %s Gen: 0x%lx\n",
40 (updclosure) <= StorageMgrInfo.OldLim ? "Old" : "New",
45 fprintf(stderr,"Upd Inplace: 0x%lx\n", (W_) updclosure);
51 TRACE_UPDATE_Inplace_Ptrs(updclosure, hp)
57 if ((updclosure) <= StorageMgrInfo.OldLim) {
58 fprintf(stderr,"Upd Redirect Old Gen (Ptrs): 0x%lx -> 0x%lx\n",
62 fprintf(stderr,"Upd Inplace New Gen (Ptrs): 0x%lx\n", (W_) updclosure);
67 fprintf(stderr,"Update Inplace: 0x%lx\n", (W_) updclosure);
72 #endif /* DO_RUNTIME_TRACE_UPDATES */