fix SIOF in CacheLocality.h's AccessSpreader
Summary:This diff moves all data accessed during AccessSpreader<>::current(x) into the .data segment, avoiding SIOF without adding indirection or dynamic gating as would be the case for normal singleton-like constructs. The diff also trims the AccessSpreader API to include only those methods that people actually seem to use. Reviewed By: djwatson Differential Revision: D2945205 fb-gh-sync-id: 847e31adc4450217f4ed0575686be261fb504d7c shipit-source-id: 847e31adc4450217f4ed0575686be261fb504d7c
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment