Commit 9967ebe7 authored by qinsoon's avatar qinsoon

[wip] going to refactor tracer

parent 1168f297
......@@ -2,6 +2,7 @@ mod bitmap;
mod address_bitmap;
mod address_map;
pub mod gctype;
pub mod objectdump;
pub use self::address_bitmap::AddressBitmap;
pub use self::address_map::AddressMap;
use utils::Address;
use utils::ByteSize;
use std::collections::HashMap;
pub struct HeapDump {
pub objects: HashMap<Address, ObjectDump>,
pub relocatable_refs: HashMap<Address, String>
}
#[derive(Debug, Clone)]
pub struct ObjectDump {
pub reference_addr: Address,
pub mem_start: Address,
pub mem_size : ByteSize,
pub reference_offsets: Vec<ByteSize>
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment