Extend DCmdArgument parsing for supporting multiple integral types

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • hs23
    • Affects Version/s: hs23
    • Component/s: hotspot
    • None
    • svc
    • generic
    • generic

      There would be value in extending the supported datatypes in DCmdArgument parsing, esp for integrals - this can be done quite easily reworking the parser to support templated integral types.

      This way we can have more generic way of stating which datatypes to be used by the DCmd framework,

      for example:

      simple:

      DCmdArgument<jint> some_jint_arg(
          "jint_arg", "Total jint size of something",
          "", false, "10");

      complex:

      DCmdArgument<MemorySizeArgument<jlong>> complexSizeType(
          "my_complex_jlong_size_type", "complex jlong type",
          "", false, "10000000000");

      DCmdArgument<MemorySizeArgument<size_t>> complexSizeType2(
          "my_complex_size_t_size_type", "complex size_t type",
          "", false, "10000000");


      /Markus

            Assignee:
            Markus Grönlund
            Reporter:
            Markus Grönlund
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: