1. A method for detecting false sharing, the method comprising: running code on a plurality of cores, wherein the code comprises instrumentation; tracking cache invalidations in the code while running the code to produce tracked invalidations in accordance with the instrumentation, wherein tracking the cache invalidations comprises tracking cache accesses to a plurality of cache lines by a plurality of tasks; and reporting false sharing in accordance with the tracked invalidations to produce a false sharing report.