From notifications-return-52168-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Wed Sep 11 22:44:08 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 64B7F18063F for ; Thu, 12 Sep 2019 00:44:08 +0200 (CEST) Received: (qmail 69717 invoked by uid 500); 11 Sep 2019 22:44:07 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 69706 invoked by uid 99); 11 Sep 2019 22:44:07 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2019 22:44:07 +0000 From: GitBox To: notifications@accumulo.apache.org Subject: [GitHub] [accumulo] belugabehr opened a new pull request #1357: Use ConcurrentHashMap instead of synchronized blocks Message-ID: <156824184768.27812.693776077213521614.gitbox@gitbox.apache.org> Date: Wed, 11 Sep 2019 22:44:07 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit belugabehr opened a new pull request #1357: Use ConcurrentHashMap instead of synchronized blocks URL: https://github.com/apache/accumulo/pull/1357 May endure a bit more overhead since `ConcurrentHashMap` a lock is obtained for every insertion/deletion (v.s. one lock for the entire operation) but will allow for greater concurrency since two threads could lock just sub-sections of the Map at one time. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services