1 /* |
1 /* |
2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. |
3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #include "incls/_precompiled.incl" |
26 #include "precompiled.hpp" |
27 #include "incls/_cppInterpreter_zero.cpp.incl" |
27 #include "asm/assembler.hpp" |
|
28 #include "interpreter/bytecodeHistogram.hpp" |
|
29 #include "interpreter/cppInterpreter.hpp" |
|
30 #include "interpreter/interpreter.hpp" |
|
31 #include "interpreter/interpreterGenerator.hpp" |
|
32 #include "interpreter/interpreterRuntime.hpp" |
|
33 #include "oops/arrayOop.hpp" |
|
34 #include "oops/methodDataOop.hpp" |
|
35 #include "oops/methodOop.hpp" |
|
36 #include "oops/oop.inline.hpp" |
|
37 #include "prims/jvmtiExport.hpp" |
|
38 #include "prims/jvmtiThreadState.hpp" |
|
39 #include "runtime/arguments.hpp" |
|
40 #include "runtime/deoptimization.hpp" |
|
41 #include "runtime/frame.inline.hpp" |
|
42 #include "runtime/interfaceSupport.hpp" |
|
43 #include "runtime/sharedRuntime.hpp" |
|
44 #include "runtime/stubRoutines.hpp" |
|
45 #include "runtime/synchronizer.hpp" |
|
46 #include "runtime/timer.hpp" |
|
47 #include "runtime/vframeArray.hpp" |
|
48 #include "stack_zero.inline.hpp" |
|
49 #include "utilities/debug.hpp" |
|
50 #ifdef SHARK |
|
51 #include "shark/shark_globals.hpp" |
|
52 #endif |
28 |
53 |
29 #ifdef CC_INTERP |
54 #ifdef CC_INTERP |
30 |
55 |
31 #define fixup_after_potential_safepoint() \ |
56 #define fixup_after_potential_safepoint() \ |
32 method = istate->method() |
57 method = istate->method() |