comparison src/cpu/x86/vm/methodHandles_x86.cpp @ 845:df6caf649ff7

6700789: G1: Enable use of compressed oops with G1 heaps Summary: Modifications to G1 so as to allow the use of compressed oops. Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author ysr
date Tue, 14 Jul 2009 15:40:39 -0700
parents e5b0439ef4ae
children 987e948ebbc8
comparison
equal deleted inserted replaced
839:bb18957ad21e 845:df6caf649ff7
267 __ lea(rax_argslot, Address(rax_argslot, arg_slots, Address::times_ptr)); 267 __ lea(rax_argslot, Address(rax_argslot, arg_slots, Address::times_ptr));
268 } 268 }
269 269
270 #ifndef PRODUCT 270 #ifndef PRODUCT
271 void trace_method_handle_stub(const char* adaptername, 271 void trace_method_handle_stub(const char* adaptername,
272 oop mh, 272 oopDesc* mh,
273 intptr_t* entry_sp, 273 intptr_t* entry_sp,
274 intptr_t* saved_sp) { 274 intptr_t* saved_sp) {
275 // called as a leaf from native code: do not block the JVM! 275 // called as a leaf from native code: do not block the JVM!
276 printf("MH %s "PTR_FORMAT" "PTR_FORMAT" "INTX_FORMAT"\n", adaptername, mh, entry_sp, entry_sp - saved_sp); 276 printf("MH %s "PTR_FORMAT" "PTR_FORMAT" "INTX_FORMAT"\n", adaptername, (void*)mh, entry_sp, entry_sp - saved_sp);
277 } 277 }
278 #endif //PRODUCT 278 #endif //PRODUCT
279 279
280 // Generate an "entry" field for a method handle. 280 // Generate an "entry" field for a method handle.
281 // This determines how the method handle will respond to calls. 281 // This determines how the method handle will respond to calls.