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

Using large globalbuffersize for JFR causes crash assert(free_size() == size)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 15, 17
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      jfr

      Description

      Run: java -XX:StartFlightRecording -XX:FlightRecorderOptions:globalbuffersize=10G <your-program>

      I would expect an errror message about wrong value for the parameter (too large, or incompatible with 'memorysize'), other than a crash.

      java: fastdebug build 15-ea+11-373
      reproducibility: 100 %
      (you may need to alter the value of globalbuffersize based on your HW)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hshi Hui Shi
              Reporter:
              mseledtsov Mikhailo Seledtsov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: