netty5/common/src
Norman Maurer 63bae0956a Ensure ThreadDeathWatcher and GlobalEventExecutor will not cause classloader leaks.
Motivation:

ThreadDeathWatcher and GlobalEventExecutor may create and start a new thread from various other threads and so inherit the classloader. We need to ensure we not inherit to allow recycling the classloader.

Modifications:

Use Thread.setContextClassLoader(null) to ensure we not hold a strong reference to the classloader and so not leak it.

Result:

Fixes [#7290].
2017-12-12 09:06:54 +01:00
..
main Ensure ThreadDeathWatcher and GlobalEventExecutor will not cause classloader leaks. 2017-12-12 09:06:54 +01:00
test When System property is empty use def value. 2017-11-23 19:45:37 +01:00