docs/DEVELOPER_README

changeset 8
1e3f411f47bf
parent 3
da1e581c933b
child 24
2a4769fcd13f
     1.1 --- a/docs/DEVELOPER_README	Fri Jan 04 09:58:33 2013 -0400
     1.2 +++ b/docs/DEVELOPER_README	Mon Jan 07 19:31:36 2013 +0100
     1.3 @@ -13,6 +13,15 @@
     1.4  This documentation of the system property flags assume that the
     1.5  default value of the flag is false, unless otherwise specified.
     1.6  
     1.7 +SYSTEM PROPERTY: -Dnashorn.unstable.relink.threshold=x
     1.8 +
     1.9 +This property controls how many call site misses are allowed before a 
    1.10 +callsite is relinked with "apply" semantics to never change again. 
    1.11 +In the case of megamorphic callsites, this is necessary, or the 
    1.12 +program would spend all its time swapping out callsite targets. Dynalink 
    1.13 +has a default value (currently 8 relinks) for this property if it 
    1.14 +is not explicitly set.
    1.15 +
    1.16  
    1.17  SYSTEM PROPERTY: -Dnashorn.callsiteaccess.debug
    1.18  

mercurial