Bug #1961: Convert LBDB's list of objects to use a linked list60/4460/6
commit251603c67e7164cab6960a1347562f09968e047f
authorRonak Buch <rabuch2@illinois.edu>
Fri, 3 Aug 2018 18:55:11 +0000 (3 13:55 -0500)
committerEvan Ramos <evan@hpccharm.com>
Fri, 10 Aug 2018 05:30:41 +0000 (10 00:30 -0500)
tree1c4d57be21af02aacea9a14f8a8660c56253cd7b
parent0aeaf1581ef0f06d77de44ba2d7fe3105c625f59
Bug #1961: Convert LBDB's list of objects to use a linked list
embedded in an array to prevent unbounded growth

Previously, the list of objects maintained in the LBDB grew without
bound, as nothing was ever deleted and new objects were pushed to the
back of the vector. Now we try to fill empty spots in the vector
before pushing to the back by embedding a linked list of the empty
spots into the vector.

Change-Id: I276ec24611719a82f941d16830508ffdf33c851b
src/ck-ldb/LBComm.C
src/ck-ldb/LBComm.h
src/ck-ldb/LBDBManager.C
src/ck-ldb/LBDBManager.h