Closed nmcglo closed 5 years ago
Jonathan Jenkins:
As it turns out, pe->GVT doesn't get updated in sequential mode... Funny enough, there's a local variable in the sequential scheduler called gvt that tracks the sim time. Maybe I should reach into the backtrace and check that ;)
Anywho, rc-stack is no longer leaky in non-optimistic modes (unless you tell it to be by passing in a NULL free function).
Jonathan Jenkins:
Status changed to closed
Jonathan Jenkins:
Fix confirmed- thanks!
Original Issue Author: Jonathan Jenkins Original Issue ID: 70 Original Issue URL: https://xgitlab.cels.anl.gov/codes/codes/issues/70
When rc_stack_gc() is called in sequential mode it never triggers the code path to free memory, leading to a continuous memory leak.
We could either modify the gc function to detect sequential mode, or else modify the push/pop functions to avoid saving elements that won't be rolled back in the first place?