[ubsan] argument parsing does not completely check for validity of -Xminf option

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • aarch64
    • iOS

      On a UBSAN enabled build on macosx-arch64, the gc/arguments/TestHeapFreeRatio.java test fails with this error:
      runtime/arguments.cpp:2428:23: runtime error: 2.14748e+11 is outside the range of representable values of type 'int'
          #0 0x107673304 in Arguments::parse_each_vm_init_arg(JavaVMInitArgs const*, JVMFlagOrigin) arguments.cpp:2428

            Assignee:
            Unassigned
            Reporter:
            Afshin Zafari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: