RFR (S): 8010294: Refactor HeapInspection to make it more reusable
erik.helin at oracle.com
Fri Mar 22 02:06:00 PDT 2013
I have refactored the HeapInspection class to prepare for the
The refactoring mainly consists of breaking up the rather long
heap_inspect function to multiple small functions that can be reused.
I also moved the public enums used to initialize KlassInfoTable and
KlassInfoHisto to private constants. Now they no longer have to be
passed as an argument to the constructor.
I also added a test to ensure that my refactoring did not break anything
(the test is not that extensive but at least it ensures that the basic
stuff is working).
- A new jtreg test (see webrev)
More information about the hotspot-gc-dev