summaryrefslogtreecommitdiff
path: root/pr/src/misc/prthinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/src/misc/prthinfo.c')
-rw-r--r--pr/src/misc/prthinfo.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/pr/src/misc/prthinfo.c b/pr/src/misc/prthinfo.c
index 2cfac1b2..67415420 100644
--- a/pr/src/misc/prthinfo.c
+++ b/pr/src/misc/prthinfo.c
@@ -140,19 +140,6 @@ PR_ThreadScanStackPointers(PRThread* t,
if (status != PR_SUCCESS)
return status;
}
-
-#ifdef GC_LEAK_DETECTOR
- /*
- ** if the thread was allocated on its own stack, conservatively
- ** scan the thread object itself to keep all data structures
- ** referenced by the thread visible to the garbage collector.
- */
- if (t->threadAllocatedOnStack) {
- status = scanFun(t, (void**)t, (sizeof(PRThread) + 3) / sizeof(void*), scanClosure);
- if (status != PR_SUCCESS)
- return status;
- }
-#endif
return PR_SUCCESS;
}