nashorn/docs/DEVELOPER_README
changeset 16533 6ae708677f92
parent 16259 bb504280c322
child 19632 c9d704ad422e
--- a/nashorn/docs/DEVELOPER_README	Mon Mar 25 18:20:16 2013 +0530
+++ b/nashorn/docs/DEVELOPER_README	Tue Mar 26 08:42:35 2013 +0100
@@ -13,6 +13,17 @@
 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