Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 426C118BA9 for ; Mon, 15 Jun 2015 08:34:01 +0000 (UTC) Received: (qmail 68375 invoked by uid 500); 15 Jun 2015 08:34:00 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 68304 invoked by uid 500); 15 Jun 2015 08:34:00 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 68286 invoked by uid 99); 15 Jun 2015 08:34:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 08:34:00 +0000 Date: Mon, 15 Jun 2015 08:34:00 +0000 (UTC) From: "David Bosschaert (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4928) Singleton getService() sometimes incorrectly returns null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585633#comment-14585633 ] David Bosschaert commented on FELIX-4928: ----------------------------------------- Yeah, its quite easy to reproduce if you run my service registry performance test that can be found here: https://github.com/bosschaert/coderthoughts/tree/master/service-registry-perftest This will report null services for the SingleBundleSingletonRunner where it should really not report null services. > Singleton getService() sometimes incorrectly returns null > --------------------------------------------------------- > > Key: FELIX-4928 > URL: https://issues.apache.org/jira/browse/FELIX-4928 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: framework-5.0.0 > Reporter: David Bosschaert > Assignee: David Bosschaert > Priority: Blocker > > Sometimes in a multithreaded environment getService() on a singleton service returns null where this shouldn't happen. -- This message was sent by Atlassian JIRA (v6.3.4#6332)