]> source.dussan.org Git - jgit.git/commit
Set context classloader to null in WorkQueue 41/115041/3
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 8 Jan 2018 09:14:33 +0000 (10:14 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 14 Feb 2018 20:39:24 +0000 (21:39 +0100)
commit95f868f2463ed9de814cff8dbd8f0f90965d4c63
tree7aa0b1ceeea50a697e59723bfee2bc0dd22aecbc
parent6e0f8bacd4a9ff70868f07e5eaa7463d235619f8
Set context classloader to null in WorkQueue

If threads created by the executor have a reference to the context
classloader this may cause a leak.

See: https://wiki.apache.org/tomcat/MemoryLeakProtection#cclThreadSpawnedByWebApp
Bug: 517107
Change-Id: If79c1ebd3f9cf733fd88a5fce38fd46ff0d08d10
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/internal/WorkQueue.java