1472N/A * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1879N/A// Implementation of InvocationCounter 1879N/A // Only reset the state and don't make the method look like it's never 1879N/A // The carry bit now indicates that this counter had achieved a very 1879N/A // large value. Now reduce the value, so that the method can be 1879N/A // executed many more times before re-entering the VM. 1879N/A // prevent from going to zero, to distinguish from never-executed methods 0N/A // prevent from going to zero, to distinguish from never-executed methods 0N/A tty->
print_cr(
"invocation count: up = %d, limit = %d, carry = %s, state = %s",
0N/A // dummy action for inactive invocation counters 0N/A // decay invocation counters so compilation gets delayed 0N/A // When methodData is collected, the backward branch limit is compared against a 0N/A // methodData counter, rather than an InvocationCounter. In the former case, we 0N/A // don't need the shift by number_of_noncount_bits, but we do need to adjust 0N/A // the factor by which we scale the threshold. 0N/A "OSR threshold should be non-negative");
0N/A "profile threshold should be less than the compilation threshold " 0N/A "and non-negative");