You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "Johnu George (JIRA)" <ji...@apache.org> on 2017/04/29 05:51:04 UTC
[jira] [Created] (MNEMONIC-254) Set function goes into loop with
cyclic structures
Johnu George created MNEMONIC-254:
-------------------------------------
Summary: 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)