use of com.ibm.j9ddr.vm29.pointer.generated.J9MemTagPointer in project openj9 by eclipse.
the class J9MemTagCommands method printMemTagForFindCallSite.
private void printMemTagForFindCallSite(MemTagEntry memTagEntry) {
J9MemTagPointer header = memTagEntry.getHeader();
try {
String callsite = header.callSite().getCStringAtOffset(0);
out.println(String.format(" !j9x %s,%s\t%s", J9MemTagHelper.j9mem_get_memory_base(header).getHexAddress(), header.allocSize().getHexValue(), callsite));
} catch (CorruptDataException e) {
// Unlikely - we've already checksummed the block
e.printStackTrace(out);
}
}
Aggregations