Message9800

Author zyasoft
Recipients kevinmcmurtrie, zyasoft
Date 2015-04-11.12:24:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428755060.78.0.670909314508.issue2321@psf.upfronthosting.co.za>
In-reply-to
Content
Kevin, ThreadStateMapping.scopedThreadState uses an additional level of indirection to avoid having a ThreadLocal directly refer to a ThreadState, which is necessary to avoid a resource leak where the Thread object has a reference to the ClassLoader of the entire Jython runtime, thereby preventing the runtime from being unloaded until the thread exits. See http://blog.crazybob.org/2006/07/hard-core-java-threadlocal.html and #1327, as well as r7273 (https://hg.python.org/jython/rev/55f7eaddc954).
History
Date User Action Args
2015-04-11 12:24:20zyasoftsetmessageid: <1428755060.78.0.670909314508.issue2321@psf.upfronthosting.co.za>
2015-04-11 12:24:20zyasoftsetrecipients: + zyasoft, kevinmcmurtrie
2015-04-11 12:24:20zyasoftlinkissue2321 messages
2015-04-11 12:24:20zyasoftcreate