netty5/common/src
Xiaoyan Lin 55dd7d035f Fix a class loader leak in ForkJoinPool
Motivation:

As reported in #4211, when using Netty in Tomcat (or other container based deployment), ForkJoinPool leaks an instance of `Submitter` so that the class loader of `Submitter` won't be GCed. However, since `Submitter` is just a wrapper of `int`, we can replace it with `int[1]`.

Modifications:

Replace `Submitter` with `int[1]`.

Result:

No class loader leak in ForkJoinPool when using in a container.
2016-05-18 10:53:33 +02:00
..
main Fix a class loader leak in ForkJoinPool 2016-05-18 10:53:33 +02:00
test Add DomainNameMapping.entries to allow retrieving the domain match lists 2016-05-17 09:47:45 +02:00