Skip to content
Commit 8e2456c2 authored by Owen Anderson's avatar Owen Anderson
Browse files

Ease contention on this lock by noticing that all writes to the VTs array will

be of (dynamically) constant values, so races on it are immaterial.  We just need
to ensure that at least one write has completed before return the pointer into it.

With this change, parllc exhibits essentially no overhead on 403.gcc.

llvm-svn: 79708
parent 48e4a6c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment