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

    • Verified

      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>`.

            xliu Xin Liu
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: