src/cpu/x86/vm/c2_globals_x86.hpp

changeset 2138
d5d065957597
parent 1907
c18cbe5936b8
child 2314
f95d63e2154a
equal deleted inserted replaced
2137:f353275af40e 2138:d5d065957597
1 /* 1 /*
2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
37 define_pd_global(bool, ProfileInterpreter, false); 37 define_pd_global(bool, ProfileInterpreter, false);
38 #else 38 #else
39 define_pd_global(bool, ProfileInterpreter, true); 39 define_pd_global(bool, ProfileInterpreter, true);
40 #endif // CC_INTERP 40 #endif // CC_INTERP
41 define_pd_global(bool, TieredCompilation, false); 41 define_pd_global(bool, TieredCompilation, false);
42 #ifdef TIERED
43 define_pd_global(intx, CompileThreshold, 1000);
44 #else
45 define_pd_global(intx, CompileThreshold, 10000); 42 define_pd_global(intx, CompileThreshold, 10000);
46 #endif // TIERED
47 define_pd_global(intx, Tier2CompileThreshold, 10000);
48 define_pd_global(intx, Tier3CompileThreshold, 20000);
49 define_pd_global(intx, Tier4CompileThreshold, 40000);
50
51 define_pd_global(intx, BackEdgeThreshold, 100000); 43 define_pd_global(intx, BackEdgeThreshold, 100000);
52 define_pd_global(intx, Tier2BackEdgeThreshold, 100000);
53 define_pd_global(intx, Tier3BackEdgeThreshold, 100000);
54 define_pd_global(intx, Tier4BackEdgeThreshold, 100000);
55 44
56 define_pd_global(intx, OnStackReplacePercentage, 140); 45 define_pd_global(intx, OnStackReplacePercentage, 140);
57 define_pd_global(intx, ConditionalMoveLimit, 3); 46 define_pd_global(intx, ConditionalMoveLimit, 3);
58 define_pd_global(intx, FLOATPRESSURE, 6); 47 define_pd_global(intx, FLOATPRESSURE, 6);
59 define_pd_global(intx, FreqInlineSize, 325); 48 define_pd_global(intx, FreqInlineSize, 325);

mercurial