cppInterpreter_x86.hpp revision 1879
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw/*
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw *
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * This code is free software; you can redistribute it and/or modify it
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * under the terms of the GNU General Public License version 2 only, as
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * published by the Free Software Foundation.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw *
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * This code is distributed in the hope that it will be useful, but WITHOUT
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * version 2 for more details (a copy is included in the LICENSE file that
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * accompanied this code).
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw *
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * You should have received a copy of the GNU General Public License version
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * 2 along with this work; if not, write to the Free Software Foundation,
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw *
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw * or visit www.oracle.com if you need additional information or have any
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp * questions.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw *
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw */
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#ifndef CPU_X86_VM_CPPINTERPRETER_X86_HPP
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#define CPU_X86_VM_CPPINTERPRETER_X86_HPP
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw protected:
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw // Size of interpreter code. Increase if too small. Interpreter will
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw // fail with a guarantee ("not enough space for interpreter generation");
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw // if too small.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw // Run with +PrintInterpreter to get the VM to print out the size.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw // Max size with JVMTI
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw const static int InterpreterCodeSize = 168 * 1024;
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#endif // CPU_X86_VM_CPPINTERPRETER_X86_HPP
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw