summaryrefslogtreecommitdiffstats
path: root/test/aligned_alloc.exp
diff options
context:
space:
mode:
authorJason Evans <je@facebook.com>2010-10-02 01:02:43 (GMT)
committerJason Evans <je@facebook.com>2010-10-02 01:02:43 (GMT)
commitc2fc8c8b3afbd15ec3e8ed4ca38667ec0a01ade8 (patch)
tree401aaeffa409a1ccc85709421200ff49e29afa5c /test/aligned_alloc.exp
parent3377ffa1f4f8e67bce1e36624285e5baf5f9ecef (diff)
downloadjemalloc-c2fc8c8b3afbd15ec3e8ed4ca38667ec0a01ade8.zip
jemalloc-c2fc8c8b3afbd15ec3e8ed4ca38667ec0a01ade8.tar.gz
jemalloc-c2fc8c8b3afbd15ec3e8ed4ca38667ec0a01ade8.tar.bz2
Use offsetof() when sizing dynamic structures.
Base dynamic structure size on offsetof(), rather than subtracting the size of the dynamic structure member. Results could differ on systems with strict data structure alignment requirements.
Diffstat (limited to 'test/aligned_alloc.exp')
0 files changed, 0 insertions, 0 deletions