×

Concurrent hierarchical dead actor collection in a distributed system

  • US 10,503,636 B2
  • Filed: 06/30/2014
  • Issued: 12/10/2019
  • Est. Priority Date: 06/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system for concurrent dead actor collection, comprising:

  • a plurality of processors configured to execute a distributed application of a distributed system;

    a plurality of actors arranged in an actor hierarchy of communication links between the plurality of actors in the distributed system; and

    a loop detector associated with a loop subset of the plurality of actors in the distributed system;

    wherein a first actor associated with the loop subset is configured to;

    be reclaimed by garbage collection after becoming a dead actor;

    receive incoming messages from each of the other actors in the loop subset;

    determine an incoming reference count from the incoming messages waiting to be processed by the first actor; and

    in response to determining that the incoming reference count is zero, send a blocked notification to the loop detector,wherein the loop detector is configured to;

    in response to receiving the blocked notification, request a blocked status response from each other actor in the loop subset,wherein the blocked status response depends on a state of each of the other actors; and

    after determining from the requested blocked status responses that all of the other actors in the loop subset are blocked, designate the first actor for the garbage collection.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×