nashorn/docs/DEVELOPER_README
changeset 40219 b381e616c242
parent 33686 1391474a6405
--- a/nashorn/docs/DEVELOPER_README	Thu Aug 04 17:49:29 2016 +0000
+++ b/nashorn/docs/DEVELOPER_README	Mon Aug 08 12:51:44 2016 +0200
@@ -302,6 +302,16 @@
 See -Dnashorn.debug for methods to access the event queue.
 The default value is 1024.
 
+SYSTEM PROPERTY: -Dnashorn.anonymous.classes.threshold=<value>
+
+Nashorn can use anonymous classes for loading compiled scripts, depending
+on the --anonymous-classes=[auto|true|false] option. Anonymous classes load
+faster, but the loaded classes get less optimization applied to them and
+therefore usually run slower. In the default "auto" setting, scripts are
+loaded as anonymous classes if the script size does not exceed 512 bytes.
+The above system property allows to set this threshold to a user defined
+value.
+
 ===============
 2. The loggers.
 ===============