[
https://issues.apache.org/jira/browse/LUCY-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755256#action_12755256
]
Marvin Humphrey commented on LUCY-43:
-------------------------------------
The present implementation of VTable keeps a mapping of class names to VTable
singletons in a global Hash. To implement a bare-minimum level of thread
support in Lucy, this Hash, lucy_VTable_registry, will have to be modified to
avoid concurrency issues, and the VTable class will have to be modified so
that instances are immortal, i.e. not refcounted.
Discussion at
[http://mail-archives.apache.org/mod_mbox/lucene-lucy-dev/200903.mbox/%[email protected]%3e].
Since that exchange on lucy-dev, Hash has been updated to avoid sharing
keys.
> VTable
> ------
>
> Key: LUCY-43
> URL: https://issues.apache.org/jira/browse/LUCY-43
> Project: Lucy
> Issue Type: Sub-task
> Components: Core
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
> Priority: Blocker
> Attachments: VTable.bp, VTable.c, VTable.c, VTable.pm
>
>
> VTables implement virtual method dispatch for our object model; they are also
> objects themselves.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.