aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_vm.h
diff options
context:
space:
mode:
authorJulien Barbot <[email protected]>2010-01-29 11:31:15 +0100
committerBjörn Gustavsson <[email protected]>2010-02-02 15:47:18 +0100
commit489577676f14d5ee62459f9134095d982a08e430 (patch)
tree6a9b01cfecf792b0e9577ca95cde7f87a30cc947 /erts/emulator/beam/erl_vm.h
parent085012b1ac9251d1cbd821f8b28034072fba63c3 (diff)
downloadotp-489577676f14d5ee62459f9134095d982a08e430.tar.gz
otp-489577676f14d5ee62459f9134095d982a08e430.tar.bz2
otp-489577676f14d5ee62459f9134095d982a08e430.zip
Add the +t emulator option to change the maximum number of atoms
It is now possible to increase or decrease the maximum number of atoms the VM can handle. The default value is 1048576 (1024*1024).
Diffstat (limited to 'erts/emulator/beam/erl_vm.h')
-rw-r--r--erts/emulator/beam/erl_vm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_vm.h b/erts/emulator/beam/erl_vm.h
index 5b0d3c2bfa..50b3e5b61c 100644
--- a/erts/emulator/beam/erl_vm.h
+++ b/erts/emulator/beam/erl_vm.h
@@ -181,6 +181,8 @@ extern int num_instructions; /* Number of instruction in opc[]. */
extern int H_MIN_SIZE; /* minimum (heap + stack) */
extern int BIN_VH_MIN_SIZE; /* minimum virtual (bin) heap */
+extern int erts_atom_table_size;/* Atom table size */
+
#define ORIG_CREATION 0
/* macros for extracting bytes from uint16's */