[armedbear-devel] Space leak due to threads stuck in LispThread map

Ville Voutilainen ville.voutilainen at gmail.com
Fri Jul 27 07:40:18 UTC 2012

On 26 July 2012 23:21, Pendergrass, James A.
<James.Pendergrass at jhuapl.edu> wrote:
>> Can you please explain why it checks the thread reference for
>> isAlive(), but performs no reference checks for
>> join()/interrupt()/getStackTrace()?
> Because I didn't have a good answer as to what should be done when calling join(), interrupt(), or getStackTrace() on a LispThread for a Java Thread that no longer exists, so throwing the null pointer exception seemed as valid as anything else.  For isAlive() I felt the correct answer was to return false as the LispThread is clearly not alive if the Java Thread is gone.
> -Aaron

Good enough. :) Thanks.

More information about the armedbear-devel mailing list