diff options
author | lagergren <none@none> | 2013-03-26 08:42:35 +0100 |
---|---|---|
committer | lagergren <none@none> | 2013-03-26 08:42:35 +0100 |
commit | ae25391dd2ce3ed676cf015f4e9b0c9c47eb19b6 (patch) | |
tree | 69951b4c67b6210b47116a3abe62902054969d0e /docs | |
parent | 33fdf006b2c7384b157894108cfa908fa41cc1c2 (diff) | |
download | nashorn-ae25391dd2ce3ed676cf015f4e9b0c9c47eb19b6.tar.gz |
8010706: -Dnashorn.args system property to create command lines to wrapped nashorn.jar:s
Reviewed-by: hannesw, sundar
Diffstat (limited to 'docs')
-rw-r--r-- | docs/DEVELOPER_README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/DEVELOPER_README b/docs/DEVELOPER_README index 3bd220b2..d0587ce6 100644 --- a/docs/DEVELOPER_README +++ b/docs/DEVELOPER_README @@ -13,6 +13,17 @@ properties described herein are subject to change without notice. This documentation of the system property flags assume that the default value of the flag is false, unless otherwise specified. +SYSTEM PROPERTY: -Dnashorn.args=<string> + +This property takes as its value a space separated list of Nashorn +command line options that should be passed to Nashorn. This might be useful +in environments where it is hard to tell how a nashorn.jar is launched. + +Example: + +> java -Dnashorn.args="--lazy-complation --log=compiler" large-java-app-with-nashorn.jar +> ant -Dnashorn.args="--log=codegen" antjob + SYSTEM PROPERTY: -Dnashorn.unstable.relink.threshold=x This property controls how many call site misses are allowed before a |