--- a/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp Mon Oct 04 10:08:29 2010 -0700
+++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp Thu Oct 07 08:06:06 2010 -0700
@@ -346,7 +346,7 @@
if (stack_dump_count > 64) stack_dump_count = 48;
for (i = 0; i < stack_dump_count; i += 4) {
printf(" dump at SP[%d] "INTPTR_FORMAT": "INTPTR_FORMAT" "INTPTR_FORMAT" "INTPTR_FORMAT" "INTPTR_FORMAT"\n",
- i, &entry_sp[i+0], entry_sp[i+0], entry_sp[i+1], entry_sp[i+2], entry_sp[i+3]);
+ i, (intptr_t)&entry_sp[i+0], entry_sp[i+0], entry_sp[i+1], entry_sp[i+2], entry_sp[i+3]);
}
print_method_handle(mh);
}