ART: Clean up verify and read barrier flags.
Remove read barrier option from Class::IsArrayClass() and related functions. Comparison with null does not need the read barrier and the primitive type should be the same when read from the from-space version of a class as when read from the to-space version. Propagate the verify flags to a few more functions and simplify Class::IsClassClass(). Remove pointer size check from Class::EmbeddedVTableOffset() in preparation for patching the boot image in place before the Runtime and Thread are fully initialized. Test: m test-art-host-gtest Test: testrunner.py --host --gcstress Bug: 77856493 Change-Id: I8b7a6165fa8e25efd37778e0e6ea049fc2147b24
Loading
Please sign in to comment