diff options
author | Erlang/OTP <[email protected]> | 2010-01-15 13:24:13 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-01-15 13:24:13 +0000 |
commit | e9adb6d0ef8426dec1f8f3211cabb49fc4464c01 (patch) | |
tree | a7bc9ea5829ca652d8c56f3486365119ddc85b91 /erts/emulator/beam/erl_vm.h | |
parent | 3bd9363f6a0e7394dcae26748ea55683790a1004 (diff) | |
parent | 51964ac6cd3087e9e187aab15d2f83db94c5d565 (diff) | |
download | otp-e9adb6d0ef8426dec1f8f3211cabb49fc4464c01.tar.gz otp-e9adb6d0ef8426dec1f8f3211cabb49fc4464c01.tar.bz2 otp-e9adb6d0ef8426dec1f8f3211cabb49fc4464c01.zip |
Merge branch 'egil/binary-gc' into ccase/r13b04_dev
* egil/binary-gc:
Add documentation for binary heap size settings.
Add tracing capabilities for binary virtual heap
Add min heap size start options to beam and erl
Improve binary garbage collection
OTP-8370 The default settings for garbage collection of binaries has been
adjusted to be less aggressive than in R13B03. It is now also
possible configure the settings for binary GC. See the
documentation for spawn_opt/2-5, erlang:system_info/1,
erlang:system_flag/2, process_flag/2-3, erlang:trace/3, and the
documenation for erl for the new command line options +hms and
+hmbs.
Diffstat (limited to 'erts/emulator/beam/erl_vm.h')
-rw-r--r-- | erts/emulator/beam/erl_vm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_vm.h b/erts/emulator/beam/erl_vm.h index d8d6246cfd..5b0d3c2bfa 100644 --- a/erts/emulator/beam/erl_vm.h +++ b/erts/emulator/beam/erl_vm.h @@ -57,7 +57,8 @@ #define INPUT_REDUCTIONS (2 * CONTEXT_REDS) -#define H_DEFAULT_SIZE 233 /* default (heap + stack) min size */ +#define H_DEFAULT_SIZE 233 /* default (heap + stack) min size */ +#define VH_DEFAULT_SIZE 32768 /* default virtual (bin) heap min size (words) */ #ifdef HYBRID # define SH_DEFAULT_SIZE 2629425 /* default message area min size */ @@ -178,6 +179,7 @@ extern int num_instructions; /* Number of instruction in opc[]. */ #define MAX_PORT_LINK 8 /* Maximum number of links to a port */ extern int H_MIN_SIZE; /* minimum (heap + stack) */ +extern int BIN_VH_MIN_SIZE; /* minimum virtual (bin) heap */ #define ORIG_CREATION 0 |