Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8229517 Support for optional asynchronous/buffered logging
  3. JDK-8267077

Release Note: Unified Logging Supports Asynchronous Log Flushing

    XMLWordPrintable

    Details

      Description

      To avoid undesirable delays in a thread using unified logging, the user can now request that the unified logging system operate in asynchronous mode. This is done by passing the command-line option `-Xlog:async`. In asynchronous logging mode, log sites enqueue all logging messages to a buffer. A standalone thread is responsible for flushing them to the corresponding outputs. The intermediate buffer is bounded. On buffer exhaustion, the enqueuing message is discarded. The user can control the size of the intermediate buffer by using the command-line option `-XX:AsyncLogBufferSize=<bytes>`.

        Attachments

          Activity

            People

            Assignee:
            dholmes David Holmes
            Reporter:
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: