diff options
author | 2023-07-28 16:22:23 +0000 | |
---|---|---|
committer | 2023-08-29 10:04:43 +0000 | |
commit | 7c20e1b1f65af6a5500a2b8e9419519e5b5c9efb (patch) | |
tree | 832f9ab2a45c417dc00c35618cf2ff9e556c1cfc /compiler/optimizing/nodes_shared.cc | |
parent | 06dfd423841e3b9144e62be7cbed34e0c7cb999e (diff) |
Pre-compute method infos before flushing trace entries to file
Computing method infos requires mutator lock. We used to compute method
infos when flushing the trace entries to file. This meant we were
holding mutator lock while we flush entries to file. This changes it so
that we pre-compute method infos. That way we only need mutator lock for
a short time and don't do File I/O while holding the lock.
Bug: 259258187
Test: art/test.py
Change-Id: Idd7e3be97d5a35f7323c019ea953d4aaf7acf9b3
Diffstat (limited to 'compiler/optimizing/nodes_shared.cc')
0 files changed, 0 insertions, 0 deletions