Merge lp:~laurynas-biveinis/percona-server/memory-valgrind-annotations into lp:percona-server/5.5
Status: | Work in progress |
---|---|
Proposed branch: | lp:~laurynas-biveinis/percona-server/memory-valgrind-annotations |
Merge into: | lp:percona-server/5.5 |
Diff against target: |
116 lines (+25/-5) 5 files modified
Percona-Server/storage/heap/heapdef.h (+6/-0) Percona-Server/storage/heap/hp_block.c (+1/-1) Percona-Server/storage/heap/hp_create.c (+2/-2) Percona-Server/storage/heap/hp_dspace.c (+15/-1) Percona-Server/storage/heap/hp_write.c (+1/-1) |
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/memory-valgrind-annotations |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Percona core | Pending | ||
Review via email: mp+99019@code.launchpad.net |
Description of the change
Annotate the MEMORY engine block allocator for Valgrind.
- Add 10-byte-long redzones before and after each block when compiled
with Valgrind support. Mark them as inaccessible on block
allocation.
- Mark block contents as undefined on block deallocation and
allocation that recycles blocks from the free list.
- Bump block offset link from 1 << 22 to 1 << 31 for fixed-length
blocks in order to make errorneous accesses crash sooner when
fixed-length blocks are treated as variable-length.
Unmerged revisions
- 237. By Laurynas Biveinis
-
Annotate the MEMORY engine block allocator for Valgrind.
- Add 10-byte-long redzones before and after each block when compiled
with Valgrind support. Mark them as inaccessible on block
allocation.
- Mark block contents as undefined on block deallocation and
allocation that recycles blocks from the free list.
- Bump block offset link from 1 << 22 to 1 << 31 for fixed-length
blocks in order to make errorneous accesses crash sooner when
fixed-length blocks are treated as variable-length.
Clean Valgrind on Jenkins testing results: jenkins. percona. com/job/ percona- server- 5.5-valgrind- param/5/
http://
Regular Jenkins test still in progress.