You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Arvid Heise (Jira)" <ji...@apache.org> on 2019/11/13 15:16:00 UTC

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

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)