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)