diff options
author | lagergren <none@none> | 2013-01-07 19:31:36 +0100 |
---|---|---|
committer | lagergren <none@none> | 2013-01-07 19:31:36 +0100 |
commit | 9201b84d9b022a52190773ff44781a786d9c2e4e (patch) | |
tree | 6b877cb180ad3499123cdf901a2cb5bd27e99009 /docs | |
parent | fc6f8e7fe3c15e9a73670b6f7d1fe746d6715e50 (diff) | |
download | nashorn-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')
-rw-r--r-- | docs/DEVELOPER_README | 9 |
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 |