src/share/vm/runtime/sharedRuntime.cpp

Print this page
rev 6670 : 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes


   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  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 #include "precompiled.hpp"
  26 #include "classfile/systemDictionary.hpp"
  27 #include "classfile/vmSymbols.hpp"

  28 #include "code/compiledIC.hpp"
  29 #include "code/scopeDesc.hpp"
  30 #include "code/vtableStubs.hpp"
  31 #include "compiler/abstractCompiler.hpp"
  32 #include "compiler/compileBroker.hpp"
  33 #include "compiler/compilerOracle.hpp"
  34 #include "compiler/disassembler.hpp"
  35 #include "interpreter/interpreter.hpp"
  36 #include "interpreter/interpreterRuntime.hpp"
  37 #include "memory/gcLocker.inline.hpp"
  38 #include "memory/universe.inline.hpp"
  39 #include "oops/oop.inline.hpp"
  40 #include "prims/forte.hpp"
  41 #include "prims/jvmtiExport.hpp"
  42 #include "prims/jvmtiRedefineClassesTrace.hpp"
  43 #include "prims/methodHandles.hpp"
  44 #include "prims/nativeLookup.hpp"
  45 #include "runtime/atomic.inline.hpp"
  46 #include "runtime/arguments.hpp"
  47 #include "runtime/biasedLocking.hpp"
  48 #include "runtime/handles.inline.hpp"
  49 #include "runtime/init.hpp"
  50 #include "runtime/interfaceSupport.hpp"
  51 #include "runtime/javaCalls.hpp"
  52 #include "runtime/sharedRuntime.hpp"
  53 #include "runtime/stubRoutines.hpp"
  54 #include "runtime/vframe.hpp"
  55 #include "runtime/vframeArray.hpp"
  56 #include "utilities/copy.hpp"
  57 #include "utilities/dtrace.hpp"
  58 #include "utilities/events.hpp"
  59 #include "utilities/hashtable.inline.hpp"
  60 #include "utilities/macros.hpp"
  61 #include "utilities/xmlstream.hpp"
  62 #ifdef TARGET_ARCH_x86
  63 # include "nativeInst_x86.hpp"
  64 # include "vmreg_x86.inline.hpp"
  65 #endif
  66 #ifdef TARGET_ARCH_sparc
  67 # include "nativeInst_sparc.hpp"
  68 # include "vmreg_sparc.inline.hpp"
  69 #endif
  70 #ifdef TARGET_ARCH_zero
  71 # include "nativeInst_zero.hpp"
  72 # include "vmreg_zero.inline.hpp"
  73 #endif
  74 #ifdef TARGET_ARCH_arm
  75 # include "nativeInst_arm.hpp"
  76 # include "vmreg_arm.inline.hpp"
  77 #endif
  78 #ifdef TARGET_ARCH_ppc
  79 # include "nativeInst_ppc.hpp"
  80 # include "vmreg_ppc.inline.hpp"
  81 #endif
  82 #ifdef COMPILER1
  83 #include "c1/c1_Runtime1.hpp"
  84 #endif
  85 
  86 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
  87 
  88 // Shared stub locations
  89 RuntimeStub*        SharedRuntime::_wrong_method_blob;
  90 RuntimeStub*        SharedRuntime::_wrong_method_abstract_blob;
  91 RuntimeStub*        SharedRuntime::_ic_miss_blob;
  92 RuntimeStub*        SharedRuntime::_resolve_opt_virtual_call_blob;
  93 RuntimeStub*        SharedRuntime::_resolve_virtual_call_blob;
  94 RuntimeStub*        SharedRuntime::_resolve_static_call_blob;
  95 
  96 DeoptimizationBlob* SharedRuntime::_deopt_blob;
  97 SafepointBlob*      SharedRuntime::_polling_page_vectors_safepoint_handler_blob;
  98 SafepointBlob*      SharedRuntime::_polling_page_safepoint_handler_blob;
  99 SafepointBlob*      SharedRuntime::_polling_page_return_handler_blob;
 100 
 101 #ifdef COMPILER2




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  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 #include "precompiled.hpp"
  26 #include "classfile/systemDictionary.hpp"
  27 #include "classfile/vmSymbols.hpp"
  28 #include "code/codeCache.hpp"
  29 #include "code/compiledIC.hpp"
  30 #include "code/scopeDesc.hpp"
  31 #include "code/vtableStubs.hpp"
  32 #include "compiler/abstractCompiler.hpp"
  33 #include "compiler/compileBroker.hpp"
  34 #include "compiler/compilerOracle.hpp"
  35 #include "compiler/disassembler.hpp"
  36 #include "interpreter/interpreter.hpp"
  37 #include "interpreter/interpreterRuntime.hpp"
  38 #include "memory/gcLocker.inline.hpp"
  39 #include "memory/universe.inline.hpp"
  40 #include "oops/oop.inline.hpp"
  41 #include "prims/forte.hpp"
  42 #include "prims/jvmtiExport.hpp"
  43 #include "prims/jvmtiRedefineClassesTrace.hpp"
  44 #include "prims/methodHandles.hpp"
  45 #include "prims/nativeLookup.hpp"
  46 #include "runtime/atomic.inline.hpp"
  47 #include "runtime/arguments.hpp"
  48 #include "runtime/biasedLocking.hpp"
  49 #include "runtime/handles.inline.hpp"
  50 #include "runtime/init.hpp"
  51 #include "runtime/interfaceSupport.hpp"
  52 #include "runtime/javaCalls.hpp"
  53 #include "runtime/sharedRuntime.hpp"
  54 #include "runtime/stubRoutines.hpp"
  55 #include "runtime/vframe.hpp"
  56 #include "runtime/vframeArray.hpp"
  57 #include "utilities/copy.hpp"
  58 #include "utilities/dtrace.hpp"
  59 #include "utilities/events.hpp"
  60 #include "utilities/hashtable.inline.hpp"
  61 #include "utilities/macros.hpp"
  62 #include "utilities/xmlstream.hpp"




















  63 #ifdef COMPILER1
  64 #include "c1/c1_Runtime1.hpp"
  65 #endif
  66 
  67 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
  68 
  69 // Shared stub locations
  70 RuntimeStub*        SharedRuntime::_wrong_method_blob;
  71 RuntimeStub*        SharedRuntime::_wrong_method_abstract_blob;
  72 RuntimeStub*        SharedRuntime::_ic_miss_blob;
  73 RuntimeStub*        SharedRuntime::_resolve_opt_virtual_call_blob;
  74 RuntimeStub*        SharedRuntime::_resolve_virtual_call_blob;
  75 RuntimeStub*        SharedRuntime::_resolve_static_call_blob;
  76 
  77 DeoptimizationBlob* SharedRuntime::_deopt_blob;
  78 SafepointBlob*      SharedRuntime::_polling_page_vectors_safepoint_handler_blob;
  79 SafepointBlob*      SharedRuntime::_polling_page_safepoint_handler_blob;
  80 SafepointBlob*      SharedRuntime::_polling_page_return_handler_blob;
  81 
  82 #ifdef COMPILER2