Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14747

Performance regression with latest changes to Mailbox

    XMLWordPrintableJSON

    Details

      Description

      The commits edeec8d7420185d1c49b2739827bd921d2c2d485 .. 809533e5b5c686e2d21b64361d22178ccb92ec26 introduced a performance regression in the course of FLINK-14304 .

      The root cause seems to be the removal of the volatile variable for speed up the hotpath in case of an empty mailbox queue resulting in unnecessary lock acquisitions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arvid heise Arvid Heise
                Reporter:
                arvid heise Arvid Heise
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m