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

UL should not use heap allocation for output string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • hotspot
    • b27
    • 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

              minqi Yumin Qi
              minqi Yumin Qi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: