OSDN Git Service

(dl)Close native libraries on unload
authorDimitry Ivanov <dimitry@google.com>
Tue, 3 May 2016 22:05:41 +0000 (15:05 -0700)
committerDimitry Ivanov <dimitry@google.com>
Tue, 3 May 2016 22:09:44 +0000 (15:09 -0700)
commit35f01195c4cf6e3c6fbb8b51f5a41b26132b4bdd
treebd1c9ff56566d4ee0dfd9e8f04d439c2d73772cb
parente20267080da1a800095a92744341b3148c36addb
(dl)Close native libraries on unload

Dlclose native libraries when VM unloads a classloader. This
change is made to avoid leakage of adress space and RSS for
mapped but unreachable native libraries.

Bug: http://b/28406866
Change-Id: Iccaa87210908872c2013506d8a310955c1e3d888
runtime/java_vm_ext.cc