You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (JIRA)" <ji...@apache.org> on 2016/03/19 18:29:33 UTC
[lucy-issues] [jira] [Resolved] (CLOWNFISH-78) Bootstrap process isn't
thread-safe
[ https://issues.apache.org/jira/browse/CLOWNFISH-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Wellnhofer resolved CLOWNFISH-78.
--------------------------------------
Resolution: Fixed
Fix Version/s: 0.6.0
> Bootstrap process isn't thread-safe
> -----------------------------------
>
> Key: CLOWNFISH-78
> URL: https://issues.apache.org/jira/browse/CLOWNFISH-78
> Project: Apache Lucy-Clownfish
> Issue Type: Bug
> Reporter: Nick Wellnhofer
> Fix For: 0.6.0
>
>
> The Clownfish bootstrap process isn't thread-safe. For a lock-free solution:
> - Class_bootstrap must set the global class pointer at the very end, possibly destroying the class if another thread set the pointer before.
> - The runtime inheritance cycle detection must be reworked, or simply left out. It only protects from a really contrived scenario.
> - Probably other things I missed.
> We could also consider a global lock using a locking facility provided by the host language.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)