comparison src/share/vm/runtime/compilationPolicy.hpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 10c4df6767c4
children 89152779163c
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
1 /* 1 /*
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2012, 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.
70 // safepoint() is called at the end of the safepoint 70 // safepoint() is called at the end of the safepoint
71 virtual void do_safepoint_work() = 0; 71 virtual void do_safepoint_work() = 0;
72 // reprofile request 72 // reprofile request
73 virtual void reprofile(ScopeDesc* trap_scope, bool is_osr) = 0; 73 virtual void reprofile(ScopeDesc* trap_scope, bool is_osr) = 0;
74 // delay_compilation(method) can be called by any component of the runtime to notify the policy 74 // delay_compilation(method) can be called by any component of the runtime to notify the policy
75 // that it's recommended to delay the compilation of this method. 75 // that it's recommended to delay the complation of this method.
76 virtual void delay_compilation(Method* method) = 0; 76 virtual void delay_compilation(Method* method) = 0;
77 // disable_compilation() is called whenever the runtime decides to disable compilation of the 77 // disable_compilation() is called whenever the runtime decides to disable compilation of the
78 // specified method. 78 // specified method.
79 virtual void disable_compilation(Method* method) = 0; 79 virtual void disable_compilation(Method* method) = 0;
80 // Select task is called by CompileBroker. The queue is guaranteed to have at least one 80 // Select task is called by CompileBroker. The queue is guaranteed to have at least one