JMap.histo() and JMap.dump() have similar sub-arguments and should parse the ones that are the same in the same fashion. See, e.g.,
http://cr.openjdk.java.net/~phh/8251835/webrev.00/
Also, common parsing code could be refactored into a common method.
http://cr.openjdk.java.net/~phh/8251835/webrev.00/
Also, common parsing code could be refactored into a common method.