nashorn/docs/DEVELOPER_README
changeset 16533 6ae708677f92
parent 16259 bb504280c322
child 19632 c9d704ad422e
equal deleted inserted replaced
16532:fe016e9cae59 16533:6ae708677f92
    10 1. System properties used internally
    10 1. System properties used internally
    11 =====================================
    11 =====================================
    12 
    12 
    13 This documentation of the system property flags assume that the
    13 This documentation of the system property flags assume that the
    14 default value of the flag is false, unless otherwise specified.
    14 default value of the flag is false, unless otherwise specified.
       
    15 
       
    16 SYSTEM PROPERTY: -Dnashorn.args=<string>
       
    17 
       
    18 This property takes as its value a space separated list of Nashorn
       
    19 command line options that should be passed to Nashorn. This might be useful 
       
    20 in environments where it is hard to tell how a nashorn.jar is launched.
       
    21 
       
    22 Example:
       
    23 
       
    24 > java -Dnashorn.args="--lazy-complation --log=compiler" large-java-app-with-nashorn.jar 
       
    25 > ant -Dnashorn.args="--log=codegen" antjob
    15 
    26 
    16 SYSTEM PROPERTY: -Dnashorn.unstable.relink.threshold=x
    27 SYSTEM PROPERTY: -Dnashorn.unstable.relink.threshold=x
    17 
    28 
    18 This property controls how many call site misses are allowed before a 
    29 This property controls how many call site misses are allowed before a 
    19 callsite is relinked with "apply" semantics to never change again. 
    30 callsite is relinked with "apply" semantics to never change again.