Commit afb393dc authored by Hans Boehm's avatar Hans Boehm
Browse files

Improve reachabilityFence

This avoids retaining the argument Object unnecessarily, at the cost
of making it even more ridiculously expensive. That's OK, since the
accompanying art CL ensures that it will not be called in a normal
production setting.

This unbreaks 036-finalizer with the added reachabilityFence.

Bug: 72698200

Test: art/test/run-test --host --prebuild --interpreter --verify-soft-fail --64 --build-with-javac-dx  036-finalizer

Change-Id: Ibfd8542fb9893f8ce05173ac6aa3cb4940cd4330
Merged-In: Ibfd8542fb9893f8ce05173ac6aa3cb4940cd4330
(cherry picked from AOSP commit 0f60d7c4)
parent 2e473536
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment