[jira] [Created] (FLINK-14747) Performance regression with latest changes to Mailbox

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14747) Performance regression with latest changes to Mailbox

Shang Yuanchun (Jira)
Arvid Heise created FLINK-14747:
-----------------------------------

             Summary: Performance regression with latest changes to Mailbox
                 Key: FLINK-14747
                 URL: https://issues.apache.org/jira/browse/FLINK-14747
             Project: Flink
          Issue Type: Bug
            Reporter: Arvid Heise


The commits [edeec8d7420185d1c49b2739827bd921d2c2d485|https://github.com/apache/flink/commit/edeec8d7420185d1c49b2739827bd921d2c2d485] .. [809533e5b5c686e2d21b64361d22178ccb92ec26|https://github.com/apache/flink/commit/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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)