Use an unordered_map for JSBarriers.