[ 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)