< prev index next >
src/cpu/ppc/vm/abstractInterpreter_ppc.cpp
Print this page
*** 29,45 ****
#include "oops/method.hpp"
#include "runtime/frame.inline.hpp"
#include "utilities/debug.hpp"
#include "utilities/macros.hpp"
- // Size of interpreter code. Increase if too small. Interpreter will
- // fail with a guarantee ("not enough space for interpreter generation");
- // if too small.
- // Run with +PrintInterpreter to get the VM to print out the size.
- // Max size with JVMTI
- int TemplateInterpreter::InterpreterCodeSize = 230*K;
-
int AbstractInterpreter::BasicType_as_index(BasicType type) {
int i = 0;
switch (type) {
case T_BOOLEAN: i = 0; break;
case T_CHAR : i = 1; break;
--- 29,38 ----
*** 157,173 ****
interpreter_frame->interpreter_frame_set_top_frame_sp(top_frame_sp);
if (!is_bottom_frame) {
interpreter_frame->interpreter_frame_set_sender_sp(sender_sp);
}
}
-
- // Support abs and sqrt like in compiler.
- // For others we can use a normal (native) entry.
-
- bool TemplateInterpreter::math_entry_available(AbstractInterpreter::MethodKind kind) {
- if (!InlineIntrinsics) return false;
-
- return ((kind==Interpreter::java_lang_math_sqrt && VM_Version::has_fsqrt()) ||
- (kind==Interpreter::java_lang_math_abs));
- }
-
-
--- 150,154 ----
< prev index next >