aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2011-01-14 12:04:54 +0100
committerRickard Green <[email protected]>2011-02-10 14:28:29 +0100
commit96effb9c1115f7a168d4db625726c738240d4c9b (patch)
tree31183f95883f043fa8a2a8e7391fd02b62ea3ead /erts/emulator/beam/erl_alloc.h
parentc694c0be5656bda37fafdef858a82c76bdcf8f14 (diff)
downloadotp-96effb9c1115f7a168d4db625726c738240d4c9b.tar.gz
otp-96effb9c1115f7a168d4db625726c738240d4c9b.tar.bz2
otp-96effb9c1115f7a168d4db625726c738240d4c9b.zip
Verify that temp allocated memory is released
Diffstat (limited to 'erts/emulator/beam/erl_alloc.h')
-rw-r--r--erts/emulator/beam/erl_alloc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.h b/erts/emulator/beam/erl_alloc.h
index 3e96c76dbf..dd4cc22171 100644
--- a/erts/emulator/beam/erl_alloc.h
+++ b/erts/emulator/beam/erl_alloc.h
@@ -236,6 +236,11 @@ void *erts_realloc_fnf(ErtsAlcType_t type, void *ptr, Uint size)
#endif /* #if ERTS_ALC_DO_INLINE || defined(ERTS_ALC_INTERNAL__) */
+typedef void (*erts_alloc_verify_func_t)(Allctr_t *);
+
+erts_alloc_verify_func_t
+erts_alloc_get_verify_unused_temp_alloc(Allctr_t **allctr);
+
#ifndef ERTS_CACHE_LINE_SIZE
/* Assume a cache line size of 64 bytes */
# define ERTS_CACHE_LINE_SIZE ((UWord) 64)