Scala Programming Language
  1. Scala Programming Language
  2. SI-3921

Last linked exiting actor isn't cleaned up properly

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Actors Library
    • Labels:
      None
    • Environment:

      actors

      Description

      There's another closely related memory leak in actor links (for the first one, see SI-3920). Exit message is sent as a normal message, which means that a reference to the last exiting actor is kept in the senders list of an Actor that's linked to it.

      To reproduce: run the attached test case in the same way as in SI-3920. Links now get cleaned up properly, but one instance of Child will be kept alive by a reference in the sender list.

        Activity

        Hide
        Alexey Ermakov added a comment -

        Test case

        Show
        Alexey Ermakov added a comment - Test case

          People

          • Assignee:
            Philipp Haller
            Reporter:
            Alexey Ermakov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development