dplyukhin / UIGC

A garbage collector for Akka actors!
Other
4 stars 2 forks source link

Self-referential actors will self-terminate #10

Closed chasminimus closed 4 years ago

chasminimus commented 4 years ago

If an actor only knows itself (i.e. its owners set only contains itself), it will automatically terminate. We don't currently check if that actor is still actively sending messages to itself/doing work. We need to add some kind of message counting to make sure that there aren't any in-flight messages to itself. Look into inspecting the mailbox and comparing it to the messages sent.

dplyukhin commented 4 years ago

Deliverables