diff options
author | Lokesh Gidra <lokeshgidra@google.com> | 2020-12-23 15:36:23 -0800 |
---|---|---|
committer | Lokesh Gidra <lokeshgidra@google.com> | 2020-12-24 01:59:56 +0000 |
commit | 1332a5702eab9facc2b67ea524e0b41a055524e4 (patch) | |
tree | df8aec08d459990611c95765874cd2ac963c15cc /compiler/optimizing/graph_visualizer.h | |
parent | eeaf8bd989a5bbe2ffdacff5a0a3a4acece7e824 (diff) |
Add a workaround for null klass during marking phase
There is a race condition due to which sometimes we read a null class
pointer from an object during marking phase in AddLiveBytesAndScanRef().
This CL adds a workaround (until the root cause is identified). The
workaround is to wait a small amount of time and read the class
pointer again, which seems to work.
Test: art/test/testrunner/testrunner.py
Bug: 173676071
Bug: 173771057
Change-Id: I96004341c54593e9e6c5b4fa4a2ec6713acd0af7
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions