Message2981

Author bflorian
Recipients
Date 2008-01-10.15:28:33
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
In Jython 2.2.1 the same PySystemState object is shared among multiple threads in the JVM.  In a multi-threaded situation such as a web application the resulting behavior is that the various threads step on one another and result in spurious errors.

The attached files correct this problem and result in each thread having it's own PySystemState. 

Note that a change was apparently made during the 2.2.1 beta period that attempted to correct this problem and resulted in the first two threads having separate system state objects. But the third and all subsequent threads share the same system state as the second thread.
History
Date User Action Args
2008-02-20 17:18:54adminlinkissue1868602 messages
2008-02-20 17:18:54admincreate