summaryrefslogtreecommitdiff
path: root/compiler/llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2013-09-18 16:35:15 -0700
committer Mathieu Chartier <mathieuc@google.com> 2013-09-18 17:09:42 -0700
commit9e452d1d097bc0f29a24e13ced5477fa3c9463f9 (patch)
tree3386b2ba7a3187bb0cea4cc1a990eb7c4e7578d8 /compiler/llvm/compiler_llvm.cc
parent3c60d13761e245b74f862987b3eae7bd5fdda5f3 (diff)
Fix system weak sweeping race.
There was a race related to sweeping the intern table with mutators unpaused. The race occurred when an unused intern was seen as not referenced by the GC but another thread attempted to create intern this same string before we swept the system weaks. This caused the thread to get a pointer to the stale string which was shortly going to be reclaimed. The fix moves sweeping the system weaks inside of the pause. This is a temporary solution since it adds < 1ms of pause time. Bug: 10626133 Change-Id: Ibf669ae5237ddb2ab44a9efd72e207bd06b53147
Diffstat (limited to 'compiler/llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions