summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2024-03-15 13:19:11 +0000
committer Jiakai Zhang <jiakaiz@google.com> 2024-03-18 14:22:01 +0000
commit235a7112416e40445ec32772a26ef171e3572594 (patch)
treee2d82b86b995408feb17816d03a598e519c597c7 /compiler/optimizing/graph_checker.cc
parent899c4295652ba6c954c1dc590f9c288849f9119c (diff)
Make the new service-art.jar closable in Pre-reboot Dexopt.
- Replace a finalizer with a Cleaner to avoid a race with finalizers introduced by the dex file. - Add a `reset` method to `ArtdRefCache` to make it GC-able. Bug: 311377497 Test: atest ArtServiceTests Test: Run Pre-reboot Dexopt and see that the chroot environemnt is successfully teared down at the end. Change-Id: I4fbd7a0f35730b7c29f54fc86aba22099a04d852
Diffstat (limited to 'compiler/optimizing/graph_checker.cc')
0 files changed, 0 insertions, 0 deletions