JFR: Crashes when global buffer size equals memory size

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 17
    • Affects Version/s: 15
    • Component/s: hotspot
    • None
    • jfr

      Command: java -XX:StartFlightRecording:dumponexit=true -XX:FlightRecorderOptions:globalbuffersize=10M,memorysize=10M -version
      Version: fastdebug build 15-ea+16-681
      Repro: always
      Error type: assert(options.buffer_count >= MIN_BUFFER_COUNT) failed: invariant

      I expect an error message instead of a crash/assert.

            Assignee:
            Erik Gahlin
            Reporter:
            Mikhailo Seledtsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: