See bug 311582 comment 10. Basically if we lock a non-deep thing only once, we just set the GCF_LOCK flag in its flags. But when unlocking we always check rt->gcLocksHash, since we can't tell from the simple presence of the GCF_LOCK flag whether the lock count is one or more... Brendan says we can somehow avoid this hashtable lookup.
This is almost never called, perf can't really matter. (We should really just remove the API)
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.