android_packages_modules_Vi.../javalib/api
Alan Stokes a4e2a4a658 Close() shouldn't throw
Close() should handle releasing resources when we are no longer using
a VM (since we implement autoCloseable). It shouldn't throw if th VM
is stopped - that just means nothing is being used.

We could get rid of stop(), or give it the same semantics, but I think
it has uses - if the app should be running then stop() throwing shows
something is wrong.

Add tests. Also minor gratuitous simplification in benchmark code.

Bug: 258397314
Test: atest MicrodroidTests
Change-Id: Ia8a6661ba1664368ba7f09ed0e4dcb8b39469fb8
2022-11-28 13:45:50 +00:00
..
current.txt
module-lib-current.txt Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00
module-lib-removed.txt
removed.txt
system-current.txt Close() shouldn't throw 2022-11-28 13:45:50 +00:00
system-removed.txt
test-current.txt
test-removed.txt