Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PR#5712: (6) document OCAMLRUNPARAM flag R

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13198 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
commit e843406d12ed4ce33ea786bc1566e4448c176a2e 1 parent 34994c8
doligez authored
Showing with 13 additions and 7 deletions.
  1. +13 −7 man/ocamlrun.m
View
20 man/ocamlrun.m
@@ -112,8 +112,8 @@ in the OCAMLRUNPARAM environment variable (see below).
A parameter specification is an option letter followed by an =
sign, a decimal number (or a hexadecimal number prefixed by
.BR 0x ),
-and an optional multiplier. There are nine options, six of which
-correspond to the fields of the
+and an optional multiplier. The options are documented below; the
+last six correspond to the fields of the
.B control
record documented in
.IR "The OCaml user's manual",
@@ -131,10 +131,19 @@ in the OCAMLRUNPARAM environment variable (see below).
the pushdown automaton that executes the parsers prints a
trace of its actions. This option takes no argument.
.TP
+.BR R
+Turn on randomization of all hash tables by default (see the
+.B Hashtbl
+module of the standard library). This option takes no
+argument.
+.TP
+.BR h
+The initial size of the major heap (in words).
+.TP
.BR a \ (allocation_policy)
The policy used for allocating in the OCaml heap. Possible values
are 0 for the next-fit policy, and 1 for the first-fit
-policy. Next-fit is somewhat faster, but first-fit is better for
+policy. Next-fit is usually faster, but first-fit is better for
avoiding fragmentation and the associated heap compactions.
.TP
.BR s \ (minor_heap_size)
@@ -152,9 +161,6 @@ The default size increment for the major heap (in words).
.BR l \ (stack_limit)
The limit (in words) of the stack size.
.TP
-.BR h
-The initial size of the major heap (in words).
-.TP
.BR v \ (verbose)
What GC messages to print to stderr. This is a sum of values selected
from the following:
@@ -189,7 +195,7 @@ Startup messages (loading the bytecode executable file, resolving
The multiplier is
.BR k ,
-.BR M \ or
+.BR M ,\ or
.BR G ,
for multiplication by 2^10, 2^20, and 2^30 respectively.
For example, on a 32-bit machine under bash, the command
Please sign in to comment.
Something went wrong with that request. Please try again.