Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365318

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • 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

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

              Created:
              Updated:
              Resolved: