mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-28 16:50:10 +00:00
8265323: Leftover local variables in PcDesc
Reviewed-by: thartmann, neliasso
This commit is contained in:
parent
1ac25b8201
commit
a2b0e0f4c0
@ -43,17 +43,12 @@ address PcDesc::real_pc(const CompiledMethod* code) const {
|
||||
void PcDesc::print_on(outputStream* st, CompiledMethod* code) {
|
||||
#ifndef PRODUCT
|
||||
ResourceMark rm;
|
||||
st->print("PcDesc(pc=" PTR_FORMAT " offset=%x bits=%x):", p2i(real_pc(code)), pc_offset(), _flags);
|
||||
st->print_cr("PcDesc(pc=" PTR_FORMAT " offset=%x bits=%x):", p2i(real_pc(code)), pc_offset(), _flags);
|
||||
|
||||
if (scope_decode_offset() == DebugInformationRecorder::serialized_null) {
|
||||
st->cr();
|
||||
return;
|
||||
}
|
||||
|
||||
int tab = 8;
|
||||
int pos = st->position() + 2; // current column plus two spaces
|
||||
pos = ((pos+tab-1)/tab)*tab;
|
||||
|
||||
for (ScopeDesc* sd = code->scope_desc_at(real_pc(code));
|
||||
sd != NULL;
|
||||
sd = sd->sender()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user