RFR: JDK-8293711: Factor out size parsing functions from arguments.cpp [v3]

Thomas Stuefe stuefe at openjdk.org
Wed Sep 21 08:39:56 UTC 2022


On Wed, 21 Sep 2022 08:08:03 GMT, David Holmes <dholmes at openjdk.org> wrote:

> I'm not sure why you need to have two different parsing routines when one routine can parse everything. Things like 1K, 1M etc are defined by Unicode as "compact number formats", so you could incorporate that in the name if you had to, but I don't see why you want/need to.

Okay, so you want me to hide the parse_integer() variant, and possibly rename parse_memory back to parse_integer?

-------------

PR: https://git.openjdk.org/jdk/pull/10252


More information about the hotspot-dev mailing list