< prev index next >

src/hotspot/share/interpreter/templateInterpreterGenerator.cpp

Print this page
*** 147,11 ***
        }
      }
    }
  
  
!   { CodeletMark cm(_masm, "safepoint entry points");
      Interpreter::_safept_entry =
        EntryPoint(
                   generate_safept_entry_for(atos, CAST_FROM_FN_PTR(address, InterpreterRuntime::at_safepoint)),
                   generate_safept_entry_for(itos, CAST_FROM_FN_PTR(address, InterpreterRuntime::at_safepoint)),
                   generate_safept_entry_for(ltos, CAST_FROM_FN_PTR(address, InterpreterRuntime::at_safepoint)),
--- 147,11 ---
        }
      }
    }
  
  
!   { CodeletMark cm(_masm, "safepoint entry points", InterpreterCodelet::codelet_safepoint_entry);
      Interpreter::_safept_entry =
        EntryPoint(
                   generate_safept_entry_for(atos, CAST_FROM_FN_PTR(address, InterpreterRuntime::at_safepoint)),
                   generate_safept_entry_for(itos, CAST_FROM_FN_PTR(address, InterpreterRuntime::at_safepoint)),
                   generate_safept_entry_for(ltos, CAST_FROM_FN_PTR(address, InterpreterRuntime::at_safepoint)),

*** 176,11 ***
    }
  
  
  
  #define method_entry(kind)                                              \
!   { CodeletMark cm(_masm, "method entry point (kind = " #kind ")"); \
      Interpreter::_entry_table[Interpreter::kind] = generate_method_entry(Interpreter::kind); \
    }
  
    // all non-native method kinds
    method_entry(zerolocals)
--- 176,11 ---
    }
  
  
  
  #define method_entry(kind)                                              \
!   { CodeletMark cm(_masm, "method entry point (kind = " #kind ")", InterpreterCodelet::codelet_method_entry); \
      Interpreter::_entry_table[Interpreter::kind] = generate_method_entry(Interpreter::kind); \
    }
  
    // all non-native method kinds
    method_entry(zerolocals)

*** 219,10 ***
--- 219,12 ---
    method_entry(java_lang_Float_intBitsToFloat);
    method_entry(java_lang_Float_floatToRawIntBits);
    method_entry(java_lang_Double_longBitsToDouble);
    method_entry(java_lang_Double_doubleToRawLongBits);
  
+   method_entry(java_lang_continuation_doYield)
+ 
  #undef method_entry
  
    // Bytecodes
    set_entry_points_for_all_bytes();
  

*** 289,11 ***
    Interpreter::_wentry_point[i] = _unimplemented_bytecode;
  }
  
  
  void TemplateInterpreterGenerator::set_entry_points(Bytecodes::Code code) {
!   CodeletMark cm(_masm, Bytecodes::name(code), code);
    // initialize entry points
    assert(_unimplemented_bytecode    != NULL, "should have been generated before");
    assert(_illegal_bytecode_sequence != NULL, "should have been generated before");
    address bep = _illegal_bytecode_sequence;
    address zep = _illegal_bytecode_sequence;
--- 291,11 ---
    Interpreter::_wentry_point[i] = _unimplemented_bytecode;
  }
  
  
  void TemplateInterpreterGenerator::set_entry_points(Bytecodes::Code code) {
!   CodeletMark cm(_masm, Bytecodes::name(code), InterpreterCodelet::codelet_bytecode, code);
    // initialize entry points
    assert(_unimplemented_bytecode    != NULL, "should have been generated before");
    assert(_illegal_bytecode_sequence != NULL, "should have been generated before");
    address bep = _illegal_bytecode_sequence;
    address zep = _illegal_bytecode_sequence;

*** 419,10 ***
--- 421,12 ---
    case Interpreter::java_lang_math_exp     : // fall thru
    case Interpreter::java_lang_math_fmaD    : // fall thru
    case Interpreter::java_lang_math_fmaF    : entry_point = generate_math_entry(kind);      break;
    case Interpreter::java_lang_ref_reference_get
                                             : entry_point = generate_Reference_get_entry(); break;
+   case Interpreter::java_lang_continuation_doYield
+                                            : entry_point = generate_Continuation_doYield_entry(); break;
    case Interpreter::java_util_zip_CRC32_update
                                             : native = true; entry_point = generate_CRC32_update_entry();  break;
    case Interpreter::java_util_zip_CRC32_updateBytes
                                             : // fall thru
    case Interpreter::java_util_zip_CRC32_updateByteBuffer
< prev index next >