diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-01-14 10:24:28 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-01-14 14:12:01 -0800 |
commit | 3fdb3fec5c36127d8568b2f89698906ba4b68576 (patch) | |
tree | fa4aad8ca14520e2be9f803c294f4a1abb7546b1 /compiler/optimizing/graph_visualizer.cc | |
parent | 7b4199a5fa9f151fbf3af2a34f26d04215a1016c (diff) |
Don't allow thread suspension in ProfilingInfo::Create
AddSamples calls ProfilingInfo::Create which would occasionally
transition to suspended and wait for code cache GC to complete.
This CL removes the thread state change and
WaitForPotentialCollectionToComplete which caused thread suspension.
The thread suspension caused occasional stale object references in
InvokeVirtualOrInterface since moving GC could occur.
If this_object became stale, we would put it's stale class into the
profile info, resulting in a GC crash.
Bug: 26086970
Change-Id: I5a86561098d72b7be80e8a3bcf3d8401403a0b00
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions