android: VM based implementation of DirectBufferAllocator

Desktop / LibreOffice - Tomaž Vajngerl [collabora.com] - 4 December 2014 16:04 UTC

DirectBufferAllocator is responsible to allocate buffer. We used Fennec JNI based allocation (and freeing) because of overallocation bug in some Android versions. With this the VM based allocator implementation is added and used by default because of bugs that happen in newer Android versions (specifically when ART is used as the Android VM).

a813044 android: VM based implementation of DirectBufferAllocator
.../org/libreoffice/kit/DirectBufferAllocator.java | 53 +++++++++++++++++---
1 file changed, 47 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share