Skip to content
Snippets Groups Projects
Commit 914ba8b1 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

OS X build fixes

parent 77b23713
No related branches found
No related tags found
No related merge requests found
...@@ -918,20 +918,20 @@ memInventory (rtsBool show) ...@@ -918,20 +918,20 @@ memInventory (rtsBool show)
debugBelch("Memory inventory:\n"); debugBelch("Memory inventory:\n");
} }
for (g = 0; g < RtsFlags.GcFlags.generations; g++) { for (g = 0; g < RtsFlags.GcFlags.generations; g++) {
debugBelch(" gen %d blocks : %5" FMT_SizeT " blocks (%" FMT_SizeT " MB)\n", g, debugBelch(" gen %d blocks : %5" FMT_Word " blocks (%" FMT_SizeT " MB)\n", g,
gen_blocks[g], MB(gen_blocks[g])); gen_blocks[g], MB(gen_blocks[g]));
} }
debugBelch(" nursery : %5" FMT_SizeT " blocks (%" FMT_SizeT " MB)\n", debugBelch(" nursery : %5" FMT_Word " blocks (%" FMT_SizeT " MB)\n",
nursery_blocks, MB(nursery_blocks)); nursery_blocks, MB(nursery_blocks));
debugBelch(" retainer : %5" FMT_SizeT " blocks (%" FMT_SizeT " MB)\n", debugBelch(" retainer : %5" FMT_Word " blocks (%" FMT_SizeT " MB)\n",
retainer_blocks, MB(retainer_blocks)); retainer_blocks, MB(retainer_blocks));
debugBelch(" arena blocks : %5" FMT_SizeT " blocks (%" FMT_SizeT " MB)\n", debugBelch(" arena blocks : %5" FMT_Word " blocks (%" FMT_SizeT " MB)\n",
arena_blocks, MB(arena_blocks)); arena_blocks, MB(arena_blocks));
debugBelch(" exec : %5" FMT_SizeT " blocks (%" FMT_SizeT " MB)\n", debugBelch(" exec : %5" FMT_Word " blocks (%" FMT_SizeT " MB)\n",
exec_blocks, MB(exec_blocks)); exec_blocks, MB(exec_blocks));
debugBelch(" free : %5" FMT_SizeT " blocks (%" FMT_SizeT " MB)\n", debugBelch(" free : %5" FMT_Word " blocks (%" FMT_SizeT " MB)\n",
free_blocks, MB(free_blocks)); free_blocks, MB(free_blocks));
debugBelch(" total : %5" FMT_SizeT " blocks (%" FMT_SizeT " MB)\n", debugBelch(" total : %5" FMT_Word " blocks (%" FMT_SizeT " MB)\n",
live_blocks + free_blocks, MB(live_blocks+free_blocks)); live_blocks + free_blocks, MB(live_blocks+free_blocks));
if (leak) { if (leak) {
debugBelch("\n in system : %5" FMT_Word " blocks (%" FMT_Word " MB)\n", debugBelch("\n in system : %5" FMT_Word " blocks (%" FMT_Word " MB)\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment