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

UL should not use heap allocation for output string

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b27
    • OS:
      generic

      Description

      Unified Logging uses 512 bytes buffer on stack to use for print out message, above that will allocate heap for extra if the string is over 512 bytes. This make a circulation since we are in logging which itself allocate heap. The buffer size should be increased, and the log string should be truncated for printout if it is over the buffer size.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              minqi Yumin Qi (Inactive)
              Reporter:
              minqi Yumin Qi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: