1703N/A * Copyright (c) 2000, 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 0N/A// The CompilationPolicy selects which method (if any) should be compiled. 0N/A// It also decides which methods must always be compiled (i.e., are never 1703N/A // m must be compiled before executing it 1703N/A // m is allowed to be compiled 2662N/A // Return initial compile level that is used with Xcomp 1703N/A // main notification entry, return a pointer to an nmethod if the OSR is required, 1703N/A // safepoint() is called at the end of the safepoint 1703N/A // delay_compilation(method) can be called by any component of the runtime to notify the policy 1703N/A // that it's recommended to delay the complation of this method. 1703N/A // disable_compilation() is called whenever the runtime decides to disable compilation of the 1703N/A // Select task is called by CompileBroker. The queue is guaranteed to have at least one 1703N/A // element and is locked. The function should select one and return it. 1703N/A // Tell the runtime if we think a given method is adequately profiled. 1703N/A // Do policy initialization 1703N/A// A base class for baseline policies. 0N/A// StackWalkCompPolicy - existing C2 policy 0N/A // the following variables hold values computed by the last inlining decision 0N/A // they are used for performance debugging only (print better messages) 0N/A static const char*
_msg;
// reason for not inlining 0N/A // positive filter: should send be inlined? returns NULL (--> yes) or rejection msg 0N/A // negative filter: should send NOT be inlined? returns NULL (--> inline) or rejection msg 1879N/A#
endif // SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP