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

UL should not use heap allocation for output string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b27
    • generic

      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.

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

              Created:
              Updated:
              Resolved: