felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4928) Singleton getService() sometimes incorrectly returns null
Date Mon, 15 Jun 2015 08:34:00 GMT

    [ 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

View raw message