Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-56446

Add debug reporting of the cause of delay, not just report there was a delay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.7.9
    • None
    • Unconfirmed

      You can add a monitor to the MinecraftServer thread to report a stack trace of where the thread was when it was taking too long. This is useful in finding rare long delays which don't show up in regular profiling approaches which typically just report averages.

      Using this monitor is how I found that sleeping while waiting for FileIOThread was the main cause of "the server can't keep up" message on my machine.

            Unassigned Unassigned
            peter.lawrey Peter K LAWREY
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: