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 #include "precompiled.hpp" 25 #include "jvm.h" 26 #include "asm/codeBuffer.hpp" 27 #include "classfile/javaClasses.inline.hpp" 28 #include "code/codeCache.hpp" 29 #include "compiler/compileBroker.hpp" 30 #include "compiler/disassembler.hpp" 31 #include "jvmci/jvmciRuntime.hpp" 32 #include "jvmci/jvmciCompilerToVM.hpp" 33 #include "jvmci/jvmciCompiler.hpp" 34 #include "jvmci/jvmciJavaClasses.hpp" 35 #include "jvmci/jvmciEnv.hpp" 36 #include "logging/log.hpp" 37 #include "memory/allocation.inline.hpp" 38 #include "memory/oopFactory.hpp" 39 #include "memory/resourceArea.hpp" 40 #include "oops/oop.inline.hpp" 41 #include "oops/objArrayOop.inline.hpp" 42 #include "runtime/biasedLocking.hpp" 43 #include "runtime/interfaceSupport.inline.hpp" 44 #include "runtime/jniHandles.inline.hpp" 45 #include "runtime/reflection.hpp" 46 #include "runtime/sharedRuntime.hpp" 47 #include "runtime/threadSMR.hpp" 48 #include "utilities/debug.hpp" 49 #include "utilities/defaultStream.hpp" 50 #include "utilities/macros.hpp" 51 52 #if defined(_MSC_VER) 53 #define strtoll _strtoi64 54 #endif 55 56 jobject JVMCIRuntime::_HotSpotJVMCIRuntime_instance = NULL; 57 bool JVMCIRuntime::_HotSpotJVMCIRuntime_initialized = false; 58 bool JVMCIRuntime::_well_known_classes_initialized = false; 59 int JVMCIRuntime::_trivial_prefixes_count = 0; 60 char** JVMCIRuntime::_trivial_prefixes = NULL; 61 JVMCIRuntime::CompLevelAdjustment JVMCIRuntime::_comp_level_adjustment = JVMCIRuntime::none; 62 bool JVMCIRuntime::_shutdown_called = false; | 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 #include "precompiled.hpp" 25 #include "jvm.h" 26 #include "asm/codeBuffer.hpp" 27 #include "classfile/javaClasses.inline.hpp" 28 #include "code/codeCache.hpp" 29 #include "code/compiledMethod.inline.hpp" 30 #include "compiler/compileBroker.hpp" 31 #include "compiler/disassembler.hpp" 32 #include "jvmci/jvmciRuntime.hpp" 33 #include "jvmci/jvmciCompilerToVM.hpp" 34 #include "jvmci/jvmciCompiler.hpp" 35 #include "jvmci/jvmciJavaClasses.hpp" 36 #include "jvmci/jvmciEnv.hpp" 37 #include "logging/log.hpp" 38 #include "memory/allocation.inline.hpp" 39 #include "memory/oopFactory.hpp" 40 #include "memory/resourceArea.hpp" 41 #include "oops/oop.inline.hpp" 42 #include "oops/objArrayOop.inline.hpp" 43 #include "runtime/biasedLocking.hpp" 44 #include "runtime/frame.inline.hpp" 45 #include "runtime/interfaceSupport.inline.hpp" 46 #include "runtime/jniHandles.inline.hpp" 47 #include "runtime/reflection.hpp" 48 #include "runtime/sharedRuntime.hpp" 49 #include "runtime/threadSMR.hpp" 50 #include "utilities/debug.hpp" 51 #include "utilities/defaultStream.hpp" 52 #include "utilities/macros.hpp" 53 54 #if defined(_MSC_VER) 55 #define strtoll _strtoi64 56 #endif 57 58 jobject JVMCIRuntime::_HotSpotJVMCIRuntime_instance = NULL; 59 bool JVMCIRuntime::_HotSpotJVMCIRuntime_initialized = false; 60 bool JVMCIRuntime::_well_known_classes_initialized = false; 61 int JVMCIRuntime::_trivial_prefixes_count = 0; 62 char** JVMCIRuntime::_trivial_prefixes = NULL; 63 JVMCIRuntime::CompLevelAdjustment JVMCIRuntime::_comp_level_adjustment = JVMCIRuntime::none; 64 bool JVMCIRuntime::_shutdown_called = false; |