Description
java.util.zip.Inflater
can cause non-heap memory leaks, as explained in this presentation. They can be detected during the application execution thanks to the Leakchecker project. This issue aims to provide an @ExpectNoInflaterMemoryLeak
annotation in QuickPerf to detect this memory leak as soon as possible. The @ExpectNoInflaterMemoryLeak
will be based on the Leakchecker project. This project has an Apache 2.0 license
so that it is ok to detect inflater memory leak in the same way in QuickPerf project. Both in QuickPerf source code and QuickPerf documentation, we will take care of mentioning the Leakchecker project.
This issue is focussed on memory leaks that could come from Inflater
. Later, we could detect other kinds of potential memory leaks, such as those that could be raised from ObjectInputStream
.