8147076: LinkerCallSite.ARGLIMIT is used incorrectly

Modified ARGLIMIT

Reviewed-by: hannesw, jlaskey
This commit is contained in:
Srinivas Dama 2017-09-30 03:15:56 +05:30 committed by Srinivas Dama
parent 027285b5ac
commit f2a9034adf
4 changed files with 93 additions and 7 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -59,7 +59,7 @@ import jdk.nashorn.internal.runtime.options.Options;
*/
public class LinkerCallSite extends ChainedCallSite {
/** Maximum number of arguments passed directly. */
public static final int ARGLIMIT = 250;
public static final int ARGLIMIT = 125;
private static final String PROFILEFILE = Options.getStringProperty("nashorn.profilefile", "NashornProfile.txt");