refactor(allocator): reduce repeat code to prevent Drop
types in arena
#8655
+37
−37
Drop
types in arena
#8655