Once you've dumped the heap into a binary file, you can use jhat to analyze the binaryheap dump file.
将堆转储至一个二进制文件后,您就可以使用jhat分析二进制堆转储文件。
2
A standard way to implement a normal binaryheap is to use an array and then fill it from left to right with an implicit binaryheap (this is the way heapsort is usually implemented).