Task #567

Test whether we're leaking memory in IOCipherFileTransfer.transferto

Added by abeluck almost 5 years ago. Updated almost 4 years ago.

Status:NewStart date:01/25/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Component:

Description

We might have performance or mem leaking issues in the code snippet below. Something janky might be needed to force memory reclamation.

The original AOSP implementation did something that got lost in our port. Investigate this.

        try {
            ByteBuffer buffer = ByteBuffer.allocate((int) count);
            read(buffer, position);
            buffer.flip();
            return target.write(buffer);
        } finally {
            //TODO determine whether
        }

History

#1 Updated by hans almost 4 years ago

  • Target version deleted (61)

Also available in: Atom PDF