Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3017375FD for ; Mon, 29 Aug 2011 14:21:01 +0000 (UTC) Received: (qmail 66994 invoked by uid 500); 29 Aug 2011 14:21:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 66952 invoked by uid 500); 29 Aug 2011 14:21:00 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 66937 invoked by uid 99); 29 Aug 2011 14:21:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 14:21:00 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 14:20:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 79665D552D for ; Mon, 29 Aug 2011 14:20:38 +0000 (UTC) Date: Mon, 29 Aug 2011 14:20:38 +0000 (UTC) From: "Li Pi (JIRA)" To: issues@hbase.apache.org Message-ID: <1971071269.3259.1314627638494.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-4278) Race condition in Slab.java that occurs due to spinlock unlocking early. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Race condition in Slab.java that occurs due to spinlock unlocking early. ------------------------------------------------------------------------ Key: HBASE-4278 URL: https://issues.apache.org/jira/browse/HBASE-4278 Project: HBase Issue Type: Sub-task Reporter: Li Pi Assignee: Li Pi Just a race condition in 4027. Occurs due to a spinlock that happens if the slab allocator is empty. When the slab allocator gets gets a slice of memory returned, if multiple threads are locked, both can be freed at the same time, leading one to throw an exception. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira