agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java
agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java
Print this page
*** 65,77 ****
VM.getVM().useDerivedPointerTable()) {
Assert.that(false, "FIXME: add derived pointer table");
}
}
- public void visitValueLocation(Address valueAddr) {
- }
-
public void visitNarrowOopLocation(Address narrowOopAddr) {
addressVisitor.visitCompOopAddress(narrowOopAddr);
}
}
--- 65,74 ----
*** 214,226 ****
visitor.visitDerivedOopLocation(baseLoc, derivedLoc);
}
}
}
! // We want narow oop, value and oop oop_types
! OopMapValue.OopTypes[] values = new OopMapValue.OopTypes[]{
! OopMapValue.OopTypes.OOP_VALUE, OopMapValue.OopTypes.VALUE_VALUE, OopMapValue.OopTypes.NARROWOOP_VALUE
};
{
for (OopMapStream oms = new OopMapStream(map, values); !oms.isDone(); oms.next()) {
omv = oms.getCurrent();
--- 211,223 ----
visitor.visitDerivedOopLocation(baseLoc, derivedLoc);
}
}
}
! // We want narow oop and oop oop_types
! OopMapValue.OopTypes[] values = new OopMapValue.OopTypes[] {
! OopMapValue.OopTypes.OOP_VALUE, OopMapValue.OopTypes.NARROWOOP_VALUE
};
{
for (OopMapStream oms = new OopMapStream(map, values); !oms.isDone(); oms.next()) {
omv = oms.getCurrent();
*** 229,240 ****
if (omv.getType() == OopMapValue.OopTypes.OOP_VALUE) {
// This assert commented out because this will be useful
// to detect in the debugging system
// assert(Universe::is_heap_or_null(*loc), "found non oop pointer");
visitor.visitOopLocation(loc);
- } else if (omv.getType() == OopMapValue.OopTypes.VALUE_VALUE) {
- visitor.visitValueLocation(loc);
} else if (omv.getType() == OopMapValue.OopTypes.NARROWOOP_VALUE) {
visitor.visitNarrowOopLocation(loc);
}
}
}
--- 226,235 ----
agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File