diff src/share/vm/code/pcDesc.cpp @ 3755:5cf771a79037

7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp Reviewed-by: never, twisti
author jrose
date Wed, 08 Jun 2011 17:04:06 -0700
parents f95d63e2154a
children be4ca325525a 7588156f5cf9
line wrap: on
line diff
--- a/src/share/vm/code/pcDesc.cpp	Sat Jun 04 10:36:22 2011 -0700
+++ b/src/share/vm/code/pcDesc.cpp	Wed Jun 08 17:04:06 2011 -0700
@@ -44,7 +44,7 @@
 void PcDesc::print(nmethod* code) {
 #ifndef PRODUCT
   ResourceMark rm;
-  tty->print_cr("PcDesc(pc=0x%lx offset=%x):", real_pc(code), pc_offset());
+  tty->print_cr("PcDesc(pc=0x%lx offset=%x bits=%x):", real_pc(code), pc_offset(), _flags.bits);
 
   if (scope_decode_offset() == DebugInformationRecorder::serialized_null) {
     return;