Skip to content
Snippets Groups Projects
Commit 68423807 authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

ChooseEntryPoint should not leak CompilationUnit/Program

Use WeakHashMap/WeakReference to ensure that
1) ChooseEntryPoint does not prevent collection of CompilationUnit
2) Whenever CompilationUnit is collected, ChooseId become collectable

This fixes a huge memory leak in Leon's runtime constraint solving.
parent dbc4e630
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment