[
https://issues.apache.org/jira/browse/FLINK-14747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski closed FLINK-14747.
----------------------------------
Resolution: Fixed
Fixed in master by {{ca0e7b75d3f724604eccf9ddce1d0fdaea130783}}
> Performance regression with latest changes to Mailbox
> -----------------------------------------------------
>
> Key: FLINK-14747
> URL: https://issues.apache.org/jira/browse/FLINK-14747
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Task
> Reporter: Arvid Heise
> Assignee: Arvid Heise
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)