< prev index next >

src/hotspot/share/code/nmethod.cpp

Print this page
*** 456,11 ***
    CodeBuffer *code_buffer,
    int vep_offset,
    int frame_complete,
    int frame_size,
    ByteSize basic_lock_owner_sp_offset,
-   ByteSize basic_lock_sp_offset,
    OopMapSet* oop_maps,
    int exception_handler) {
    code_buffer->finalize_oop_references(method);
    // create nmethod
    nmethod* nm = NULL;
--- 456,10 ---

*** 477,11 ***
      nm = new (native_nmethod_size, CompLevel_none)
      nmethod(method(), compiler_none, native_nmethod_size,
              compile_id, &offsets,
              code_buffer, frame_size,
              basic_lock_owner_sp_offset,
-             basic_lock_sp_offset,
              oop_maps);
      NOT_PRODUCT(if (nm != NULL)  native_nmethod_stats.note_native_nmethod(nm));
    }
  
    if (nm != NULL) {
--- 476,10 ---

*** 600,16 ***
    int compile_id,
    CodeOffsets* offsets,
    CodeBuffer* code_buffer,
    int frame_size,
    ByteSize basic_lock_owner_sp_offset,
-   ByteSize basic_lock_sp_offset,
    OopMapSet* oop_maps )
    : CompiledMethod(method, "native nmethod", type, nmethod_size, sizeof(nmethod), code_buffer, offsets->value(CodeOffsets::Frame_Complete), frame_size, oop_maps, false, true),
    _unlinked_next(NULL),
    _native_receiver_sp_offset(basic_lock_owner_sp_offset),
-   _native_basic_lock_sp_offset(basic_lock_sp_offset),
    _is_unloading_state(0)
  {
    {
      int scopes_data_offset   = 0;
      int deoptimize_offset    = 0;
--- 598,14 ---

*** 740,11 ***
  #endif
    )
    : CompiledMethod(method, "nmethod", type, nmethod_size, sizeof(nmethod), code_buffer, offsets->value(CodeOffsets::Frame_Complete), frame_size, oop_maps, false, true),
    _unlinked_next(NULL),
    _native_receiver_sp_offset(in_ByteSize(-1)),
-   _native_basic_lock_sp_offset(in_ByteSize(-1)),
    _is_unloading_state(0)
  {
    assert(debug_info->oop_recorder() == code_buffer->oop_recorder(), "shared OR");
    {
      debug_only(NoSafepointVerifier nsv;)
--- 736,10 ---
< prev index next >