Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-1948

Make objects with native companions AutoClosable

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0
    • 2.6.0
    • Java, Java-Android
    • Security Level: Public
    • None
    • 5

    Description

      CBL Java platform objects that have native companion objects all depend on finalization, to free the native companion. This can lead to flooding of the finalizer thread and slow recovery of memory.

      Objects with native compainions should be auto-closable, so that they can be used with Java's try-with-resources statement.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            blake.meike Blake Meike
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty