-
- Downloads
libitm: Optimize undo log.
libitm/ * local.cc (GTM_LB): Use GTM::gtm_undolog. (GTM::gtm_thread::drop_references_undolog): Remove. (GTM::gtm_thread::commit_undolog, GTM::gtm_thread::rollback_undolog): Move to ... * libitm_i.h (GTM::gtm_undolog): ...here. New. (GTM::gtm_undolog_entry): Remove. (GTM::gtm_thread): Adapt. * beginend.cc (GTM::gtm_thread::rollback): Adapt. (GTM::gtm_thread::trycommit): Adapt. * method-serial.cc (serial_dispatch::log): Adapt. * method-gl.cc (gl_wt_dispatch::pre_write): Adapt. (gl_wt_dispatch::store): Fix likely/unlikely. * containers.h (GTM::vector::resize): Add additional_capacity parameter and handle it. (GTM::vector::resize_noinline): New/adapt. (GTM::vector::push): New. From-SVN: r182992
Showing
- libitm/ChangeLog 19 additions, 0 deletionslibitm/ChangeLog
- libitm/beginend.cc 3 additions, 3 deletionslibitm/beginend.cc
- libitm/containers.h 22 additions, 6 deletionslibitm/containers.h
- libitm/libitm_i.h 25 additions, 10 deletionslibitm/libitm_i.h
- libitm/local.cc 8 additions, 62 deletionslibitm/local.cc
- libitm/method-gl.cc 3 additions, 4 deletionslibitm/method-gl.cc
- libitm/method-serial.cc 3 additions, 3 deletionslibitm/method-serial.cc
Loading
Please register or sign in to comment