mbeckerle commented on PR #1539: URL: https://github.com/apache/daffodil/pull/1539#issuecomment-3207461299
Sounds like OnStack's nesting is important behavior esp when there is recursion. Note that if you ignore things like onstack and just allocate and allow GC of these objects then it can become quite hard to profile code because it all behaves like an inner loop calling the allocator. OnStack can be made leak-safe if you just keep a counter and every N (ex: 100) calls just drop all existing entries from the pool and start fresh. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
