src/cpu/x86/vm/methodHandles_x86.cpp

changeset 1568
aa62b9388fce
parent 1543
85f13cdfbc1d
child 1570
e66fd840cb6b
     1.1 --- a/src/cpu/x86/vm/methodHandles_x86.cpp	Mon Jan 04 00:22:57 2010 -0800
     1.2 +++ b/src/cpu/x86/vm/methodHandles_x86.cpp	Mon Jan 04 15:52:40 2010 +0100
     1.3 @@ -268,8 +268,9 @@
     1.4  }
     1.5  
     1.6  #ifndef PRODUCT
     1.7 +extern "C" void print_method_handle(oop mh);
     1.8  void trace_method_handle_stub(const char* adaptername,
     1.9 -                              oopDesc* mh,
    1.10 +                              oop mh,
    1.11                                intptr_t* entry_sp,
    1.12                                intptr_t* saved_sp,
    1.13                                intptr_t* saved_bp) {
    1.14 @@ -280,6 +281,7 @@
    1.15           adaptername, (intptr_t)mh, (intptr_t)entry_sp, (intptr_t)(saved_sp - entry_sp), (intptr_t)(base_sp - last_sp), (intptr_t)saved_bp);
    1.16    if (last_sp != saved_sp)
    1.17      printf("*** last_sp="INTPTR_FORMAT"\n", (intptr_t)last_sp);
    1.18 +  if (Verbose)  print_method_handle(mh);
    1.19  }
    1.20  #endif //PRODUCT
    1.21  

mercurial