cppInterpreter_sparc.hpp revision 0
50N/A/*
1472N/A * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
50N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
50N/A *
50N/A * This code is free software; you can redistribute it and/or modify it
50N/A * under the terms of the GNU General Public License version 2 only, as
50N/A * published by the Free Software Foundation.
50N/A *
50N/A * This code is distributed in the hope that it will be useful, but WITHOUT
50N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
50N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
50N/A * version 2 for more details (a copy is included in the LICENSE file that
50N/A * accompanied this code).
50N/A *
50N/A * You should have received a copy of the GNU General Public License version
50N/A * 2 along with this work; if not, write to the Free Software Foundation,
50N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
50N/A *
1472N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
1472N/A * CA 95054 USA or visit www.sun.com if you need additional information or
1472N/A * have any questions.
50N/A *
50N/A */
50N/A
50N/A // Size of interpreter code. Increase if too small. Interpreter will
50N/A // fail with a guarantee ("not enough space for interpreter generation");
50N/A // if too small.
50N/A // Run with +PrintInterpreter to get the VM to print out the size.
50N/A // Max size with JVMTI and TaggedStackInterpreter
50N/A
50N/A // QQQ this is proably way too large for c++ interpreter
50N/A
50N/A#ifdef _LP64
50N/A // The sethi() instruction generates lots more instructions when shell
50N/A // stack limit is unlimited, so that's why this is much bigger.
50N/A const static int InterpreterCodeSize = 210 * K;
50N/A#else
50N/A const static int InterpreterCodeSize = 180 * K;
50N/A#endif
50N/A