13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP
26 #define SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP
27
28 #include "interpreter/bytecodeHistogram.hpp"
29 #include "interpreter/bytecodeTracer.hpp"
30 #include "interpreter/linkResolver.hpp"
31 #include "memory/allocation.hpp"
32 #include "memory/resourceArea.hpp"
33 #include "runtime/threadLocalStorage.hpp"
34 #include "utilities/hashtable.hpp"
35 #include "utilities/macros.hpp"
36
37 class AdapterHandlerEntry;
38 class AdapterHandlerTable;
39 class AdapterFingerPrint;
40 class vframeStream;
41
42 // Runtime is the base class for various runtime interfaces
43 // (InterpreterRuntime, CompilerRuntime, etc.). It provides
44 // shared functionality such as exception forwarding (C++ to
45 // Java exceptions), locking/unlocking mechanisms, statistical
46 // information, etc.
47
48 class SharedRuntime: AllStatic {
49 friend class VMStructs;
50
51 private:
52 static methodHandle resolve_sub_helper(JavaThread *thread,
53 bool is_virtual,
|
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP
26 #define SHARE_VM_RUNTIME_SHAREDRUNTIME_HPP
27
28 #include "interpreter/bytecodeHistogram.hpp"
29 #include "interpreter/bytecodeTracer.hpp"
30 #include "interpreter/linkResolver.hpp"
31 #include "memory/allocation.hpp"
32 #include "memory/resourceArea.hpp"
33 #include "utilities/hashtable.hpp"
34 #include "utilities/macros.hpp"
35
36 class AdapterHandlerEntry;
37 class AdapterHandlerTable;
38 class AdapterFingerPrint;
39 class vframeStream;
40
41 // Runtime is the base class for various runtime interfaces
42 // (InterpreterRuntime, CompilerRuntime, etc.). It provides
43 // shared functionality such as exception forwarding (C++ to
44 // Java exceptions), locking/unlocking mechanisms, statistical
45 // information, etc.
46
47 class SharedRuntime: AllStatic {
48 friend class VMStructs;
49
50 private:
51 static methodHandle resolve_sub_helper(JavaThread *thread,
52 bool is_virtual,
|