lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Wellnhofer (JIRA)" <>
Subject [lucy-issues] [jira] [Created] (CLOWNFISH-78) Bootstrap process isn't thread-safe
Date Thu, 25 Feb 2016 21:35:18 GMT
Nick Wellnhofer created CLOWNFISH-78:

             Summary: Bootstrap process isn't thread-safe
                 Key: CLOWNFISH-78
             Project: Apache Lucy-Clownfish
          Issue Type: Bug
            Reporter: Nick Wellnhofer

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

View raw message