From 233ddac5e8b7b347f2789a9ecbd2cda44b541483 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 4 Jul 2018 16:51:13 +0100 Subject: [PATCH] Avoid emitting poolalloc and poolfree events in the hot variety, so that they not affected asymmetrically by the poolfree macro. Copied from Perforce Change: 194410 --- mps/code/eventdef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mps/code/eventdef.h b/mps/code/eventdef.h index f65d9f09c8c..93dda967fe4 100644 --- a/mps/code/eventdef.h +++ b/mps/code/eventdef.h @@ -93,8 +93,8 @@ EVENT(X, SegFree , 0x0014, TRUE, Seg) \ EVENT(X, PoolInit , 0x0015, TRUE, Pool) \ EVENT(X, PoolFinish , 0x0016, TRUE, Pool) \ - EVENT(X, PoolAlloc , 0x0017, TRUE, Object) \ - EVENT(X, PoolFree , 0x0018, TRUE, Object) \ + EVENT(X, PoolAlloc , 0x0017, FALSE, Object) \ + EVENT(X, PoolFree , 0x0018, FALSE, Object) \ EVENT(X, LandInit , 0x0019, TRUE, Pool) \ EVENT(X, Intern , 0x001a, TRUE, User) \ EVENT(X, Label , 0x001b, TRUE, User) \