Derby
  1. Derby
  2. DERBY-5715

InbetweenTest holds on to resources after completion

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      None

      Description

      InbetweenTest keeps connections, statements and result sets in instance variables, but never clears the variables, so they are kept forever.

      1. d5715-1a.diff
        15 kB
        Knut Anders Hatlen

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        16h 47m 1 Knut Anders Hatlen 25/Apr/12 07:57
        In Progress In Progress Closed Closed
        4h 29m 1 Knut Anders Hatlen 25/Apr/12 12:26
        Gavin made changes -
        Workflow jira [ 12663835 ] Default workflow, editable Closed status [ 12796847 ]
        Knut Anders Hatlen made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Issue & fix info Patch Available [ 10102 ]
        Fix Version/s 10.9.0.0 [ 12316344 ]
        Resolution Fixed [ 1 ]
        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1330206.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1330206.
        Knut Anders Hatlen made changes -
        Issue & fix info Patch Available [ 10102 ]
        Knut Anders Hatlen made changes -
        Attachment d5715-1a.diff [ 12524122 ]
        Hide
        Knut Anders Hatlen added a comment -

        The attached patch removes the instance variables from InbetweenTest and makes it use local variables instead. This makes the objects eligible for gc once the test has completed.

        Show
        Knut Anders Hatlen added a comment - The attached patch removes the instance variables from InbetweenTest and makes it use local variables instead. This makes the objects eligible for gc once the test has completed.
        Knut Anders Hatlen made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Knut Anders Hatlen created issue -

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development