You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "dugenkui (Jira)" <ji...@apache.org> on 2020/09/04 15:25:00 UTC
[jira] [Updated] (FLINK-19089) In ClosableBlockingQueue, Replace
ReentrantLock with ReentrantReadWriteLock
[ https://issues.apache.org/jira/browse/FLINK-19089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dugenkui updated FLINK-19089:
-----------------------------
Summary: In ClosableBlockingQueue, Replace ReentrantLock with ReentrantReadWriteLock (was: Replace ReentrantLock with ReentrantReadWriteLock in ClosableBlockingQueue)
> In ClosableBlockingQueue, Replace ReentrantLock with ReentrantReadWriteLock
> ----------------------------------------------------------------------------
>
> Key: FLINK-19089
> URL: https://issues.apache.org/jira/browse/FLINK-19089
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Kafka
> Reporter: dugenkui
> Priority: Major
> Labels: pull-request-available
>
> 1. Replace ReentrantLock with ReentrantReadWriteLock to improve concurrency;
> 2. Use signal instead of signalAll to reduce the thread scheduling.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)