comparison src/share/vm/runtime/compilationPolicy.hpp @ 14518:d8041d695d19

Merged with jdk9/dev/hotspot changeset 3812c088b945
author twisti
date Tue, 11 Mar 2014 18:45:59 -0700
parents 9161ed8ce796 63a4eb8bcd23
children 10c4df6767c4
comparison
equal deleted inserted replaced
14141:f97c5ec83832 14518:d8041d695d19
1 /* 1 /*
2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2013, 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.
73 // safepoint() is called at the end of the safepoint 73 // safepoint() is called at the end of the safepoint
74 virtual void do_safepoint_work() = 0; 74 virtual void do_safepoint_work() = 0;
75 // reprofile request 75 // reprofile request
76 virtual void reprofile(ScopeDesc* trap_scope, bool is_osr) = 0; 76 virtual void reprofile(ScopeDesc* trap_scope, bool is_osr) = 0;
77 // delay_compilation(method) can be called by any component of the runtime to notify the policy 77 // delay_compilation(method) can be called by any component of the runtime to notify the policy
78 // that it's recommended to delay the complation of this method. 78 // that it's recommended to delay the compilation of this method.
79 virtual void delay_compilation(Method* method) = 0; 79 virtual void delay_compilation(Method* method) = 0;
80 // disable_compilation() is called whenever the runtime decides to disable compilation of the 80 // disable_compilation() is called whenever the runtime decides to disable compilation of the
81 // specified method. 81 // specified method.
82 virtual void disable_compilation(Method* method) = 0; 82 virtual void disable_compilation(Method* method) = 0;
83 // Select task is called by CompileBroker. The queue is guaranteed to have at least one 83 // Select task is called by CompileBroker. The queue is guaranteed to have at least one