src/share/vm/runtime/frame.cpp

changeset 852
f4fe12e429a4
parent 631
d1605aabd0a1
child 1040
98cb887364d3
equal deleted inserted replaced
851:b6cfd754403d 852:f4fe12e429a4
81 81
82 VMReg r = VMRegImpl::as_VMReg(i); 82 VMReg r = VMRegImpl::as_VMReg(i);
83 intptr_t* src = (intptr_t*) location(r); 83 intptr_t* src = (intptr_t*) location(r);
84 if (src != NULL) { 84 if (src != NULL) {
85 85
86 r->print(); 86 r->print_on(st);
87 tty->print(" [" INTPTR_FORMAT "] = ", src); 87 st->print(" [" INTPTR_FORMAT "] = ", src);
88 if (((uintptr_t)src & (sizeof(*src)-1)) != 0) { 88 if (((uintptr_t)src & (sizeof(*src)-1)) != 0) {
89 tty->print_cr("<misaligned>"); 89 st->print_cr("<misaligned>");
90 } else { 90 } else {
91 tty->print_cr(INTPTR_FORMAT, *src); 91 st->print_cr(INTPTR_FORMAT, *src);
92 } 92 }
93 } 93 }
94 } 94 }
95 } 95 }
96 96

mercurial