aboutsummaryrefslogtreecommitdiff
path: root/docs/DEVELOPER_README
diff options
context:
space:
mode:
authorlagergren <none@none>2013-01-07 19:31:36 +0100
committerlagergren <none@none>2013-01-07 19:31:36 +0100
commit9201b84d9b022a52190773ff44781a786d9c2e4e (patch)
tree6b877cb180ad3499123cdf901a2cb5bd27e99009 /docs/DEVELOPER_README
parentfc6f8e7fe3c15e9a73670b6f7d1fe746d6715e50 (diff)
downloadnashorn-9201b84d9b022a52190773ff44781a786d9c2e4e.tar.gz
8005789: Forgot to document -Dnashorn.unstable.relink.threshold
Summary: Added documentation to DEVELOPER_README, fixed code convention warnings Reviewed-by: attila
Diffstat (limited to 'docs/DEVELOPER_README')
-rw-r--r--docs/DEVELOPER_README9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/DEVELOPER_README b/docs/DEVELOPER_README
index 747379bc..a4859701 100644
--- a/docs/DEVELOPER_README
+++ b/docs/DEVELOPER_README
@@ -13,6 +13,15 @@ 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.unstable.relink.threshold=x
+
+This property controls how many call site misses are allowed before a
+callsite is relinked with "apply" semantics to never change again.
+In the case of megamorphic callsites, this is necessary, or the
+program would spend all its time swapping out callsite targets. Dynalink
+has a default value (currently 8 relinks) for this property if it
+is not explicitly set.
+
SYSTEM PROPERTY: -Dnashorn.callsiteaccess.debug