summaryrefslogtreecommitdiff
path: root/build/codegen.go
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-10-18 08:05:49 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2024-10-18 13:56:35 +0000
commit1ef51a583cd9cd4e2f7a0aae0161dafe231df34c (patch)
tree74f45b71410357c89d05170347ff499f946aa15a /build/codegen.go
parent7e3d07a973438847754b221cade9f9881bbb3d52 (diff)
Fix read barrier assertions for app image loading.
Transitions between Runnable and suspended state can run arbitrary checkpoints that can use read barriers, so we need to restrict the `ScopedDebugDisallowReadBarriers` to those parts of the code that contain no state transitions. Note that these state transitions are actually unnecessary as we're actually touching only the app image being loaded and immutable class data in boot images that the app image depends on. Once we remove these unnecessary transitions, we shall move the `ScopedDebugDisallowReadBarriers` back to the enclosing scope. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 330444460 Change-Id: I632de6a861817658e14c39ea34806561d4fab37b
Diffstat (limited to 'build/codegen.go')
0 files changed, 0 insertions, 0 deletions