I got a complex multithread program that calls to exit when it's done. I want to optimize its configurations and need to run it multiple times.
How can I do it in a JIT friendly way?
Note that this question is different from Java: How to test methods that call System.exit()?
I don't want to build a unitest for it but test the performance of the entire execution.