diff options
Diffstat (limited to 'rts/sm/HeapAlloc.h')
-rw-r--r-- | rts/sm/HeapAlloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/sm/HeapAlloc.h b/rts/sm/HeapAlloc.h index f91795529d..b9f7c468be 100644 --- a/rts/sm/HeapAlloc.h +++ b/rts/sm/HeapAlloc.h @@ -209,9 +209,9 @@ StgBool HEAP_ALLOCED_GC(const void *p) } else { // putting the rest out of line turned out to be a slight // performance improvement: - ACQUIRE_SPIN_LOCK(&gc_alloc_block_sync); + ACQUIRE_ALLOC_BLOCK_SPIN_LOCK(); b = HEAP_ALLOCED_miss(mblock,p); - RELEASE_SPIN_LOCK(&gc_alloc_block_sync); + RELEASE_ALLOC_BLOCK_SPIN_LOCK(); return b; } } |