Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
The exception seems to be caused because the JVM gets confused serializing the
anonymous inner classes (created in the serialization of the global lexical
scope), and gets into an infinite loop.
For the moment the global lexical scope is passed by far reference. This
solution will create an unnnecessary remote far references for the global
lexical scope taken along in isolates since its serialization rebinds the
lexicalParent_ upon arrival. This means we will create some unnecessary
objects in the AT VM, but at least no thread is created anymore since we have
now a ThreadPool for remote far references.
Original comment by egonzal...@gmail.com
on 10 Dec 2010 at 12:47
I will investigate whether the lexicalParent_ field of NATCallFrames (and thus
also NATObjects that are marked as isolates) can be made transient such that
the root is never implicitly parameter-passed.
When the root is explicitly parameter-passed in a message, e.g. `obj<-m(root)`
then it's OK to pass it by-far-reference.
Original comment by tvcut...@gmail.com
on 10 Dec 2010 at 4:11
We cannot come up with a reason why this was necessary.
Original comment by Botje.linux@gmail.com
on 24 May 2013 at 1:48
Original issue reported on code.google.com by
egonzal...@gmail.com
on 10 Dec 2010 at 12:24