2016-09-06 19:06 GMT+02:00 Sean P. DeNigris <s...@clipperadams.com>:

> Denis Kudriashov wrote
> >> Is that to say that the network holds them strongly?
>
> I'm curious, why?
>

Imaging we send object A from server to client as reference. On client
object A will be represented by proxy and any message to it will produce
remote interaction with object A on server side.
Now what will happen if server will collect object A as garbage?
Proxy on client will become broken because it will point to unexisting
object on server and any message send will produce error.
So simple weak arrays approach is not enough to manage distributed objects.
Distributed garbage collection is required which is not implemented yet.

Of course it is very important feature but for specific applications manual
management is usable too.
In case of remote debugging everything is cleaned when client disconnects
debugger from server.

Reply via email to