commit | a792067fcf354b02cbab0a51b51842b73274d4cd | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Jun 23 09:41:20 2017 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Fri Jun 23 11:11:03 2017 +0100 |
tree | 6139b0928d66ef4f17b5386f7a9cc1dc81f1c59e | |
parent | 2cf565901845e4bafc663c24071c91d13c692858 [diff] |
Don't do a read barrier in GetProfilingInfo. ProfilingInfos are handled by the JIT, which treats declaring classes of methods having these ProfilingInfo as weak roots. So it might be possible the JIT requests a ProfilingInfo for a class that is going to be unloaded (and that's ok, as the memory for the ProfilingInfo is reclaimed by the JIT and is done before unloading the class). bug: 62914384 Test: test.py Change-Id: I84571786c1569782fb02d68257c4f70b195f27b6