From 9201b84d9b022a52190773ff44781a786d9c2e4e Mon Sep 17 00:00:00 2001 From: lagergren Date: Mon, 7 Jan 2013 19:31:36 +0100 Subject: 8005789: Forgot to document -Dnashorn.unstable.relink.threshold Summary: Added documentation to DEVELOPER_README, fixed code convention warnings Reviewed-by: attila --- docs/DEVELOPER_README | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') 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 -- cgit v1.2.1