aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/atom.c
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2010-02-03 10:36:00 +0000
committerErlang/OTP <[email protected]>2010-02-03 10:36:00 +0000
commitb431080a98aa625758e41989437219357392ffb6 (patch)
tree73e598272c827055e015e3465451cf37e7a6b5a2 /erts/emulator/beam/atom.c
parent05f4ff85cb00b15b07b1ed194185fd37017ce7b9 (diff)
parent489577676f14d5ee62459f9134095d982a08e430 (diff)
downloadotp-b431080a98aa625758e41989437219357392ffb6.tar.gz
otp-b431080a98aa625758e41989437219357392ffb6.tar.bz2
otp-b431080a98aa625758e41989437219357392ffb6.zip
Merge branch 'jb/atom-table-size' into ccase/r13b04_dev
* jb/atom-table-size: Add the +t emulator option to change the maximum number of atoms OTP-8405 There is a new +t emulator option for changing the maximum number of atoms. (Thanks to Julien Barbot.)
Diffstat (limited to 'erts/emulator/beam/atom.c')
-rw-r--r--erts/emulator/beam/atom.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/erts/emulator/beam/atom.c b/erts/emulator/beam/atom.c
index dfc3cde6a7..e2a79d6e4f 100644
--- a/erts/emulator/beam/atom.c
+++ b/erts/emulator/beam/atom.c
@@ -1,19 +1,19 @@
/*
* %CopyrightBegin%
- *
- * Copyright Ericsson AB 1996-2009. All Rights Reserved.
- *
+ *
+ * Copyright Ericsson AB 1996-2010. All Rights Reserved.
+ *
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy of the
* Erlang Public License along with this software. If not, it can be
* retrieved online at http://www.erlang.org/.
- *
+ *
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
- *
+ *
* %CopyrightEnd%
*/
@@ -322,7 +322,7 @@ init_atom_table(void)
text_list = NULL;
erts_index_init(ERTS_ALC_T_ATOM_TABLE, &erts_atom_table,
- "atom_tab", ATOM_SIZE, ATOM_LIMIT, f);
+ "atom_tab", ATOM_SIZE, erts_atom_table_size, f);
more_atom_space();
/* Ordinary atoms */