Improve management of memory mapped resources from Java lang 6.1.4