You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/01 18:24:04 UTC

[jira] [Commented] (MNEMONIC-254) Set function goes into loop with cyclic structures

    [ https://issues.apache.org/jira/browse/MNEMONIC-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991245#comment-15991245 ] 

ASF GitHub Bot commented on MNEMONIC-254:
-----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-mnemonic/pull/43


> Set function goes into loop with cyclic structures
> --------------------------------------------------
>
>                 Key: MNEMONIC-254
>                 URL: https://issues.apache.org/jira/browse/MNEMONIC-254
>             Project: Mnemonic
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0-incubating
>            Reporter: Johnu George
>            Assignee: Johnu George
>             Fix For: 0.8.0-incubating
>
>
> In generated Set functions of durable structures, registerAutoReclaim() and CancelAutoReclaim() functions are called on linked fields.  Hence, if it is cyclic structure, it causes infinite loop. Solution is to call registerAutoReclaim only if reclaim was not already set on the linked field and vice versa.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)