Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-16 | vyatta-cfg: Fix memory leak in Cstore perl binding | Genta IHA | |
The Cstore perl binding (XS) has memory leak bug. This commit will fix this issue. All XS should implement "DESTROY" function to free memory, but this binding haven't this function. It leads memory leak each time when you call "new Cstore();" in perl code. Additionally, VyOS Helium standard Perl module "Vyatta::Config" have a Cstore instance variable, and each time calling "new Vyatta::Config();" in Perl causes memory leak due to this issue. Especially, the long-live process using Vyatta::Config (e.g. vyos-intfwatched) lead to serious memory exhaustion problem due to this issue. This patch implements the "DESTROY" function in XS for Cstore library, and fix this memory leak issue. | |||
2011-04-06 | minor refactoring | An-Cheng Huang | |
2011-03-17 | add config path abstraction and high-level caching | An-Cheng Huang | |
* part of the config backend cleanup/optimization work. * improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%. | |||
2011-02-18 | namespace reorg | An-Cheng Huang | |
2011-01-05 | fix for bug 6641 | An-Cheng Huang | |
* change shell API to only use "edit level" when needed. * add factory functions for cstore creation to simplify code. (cherry picked from commit 2208bfef1004295d3227492c6a3e9d7b36903db5) | |||
2010-12-10 | Export inSession to the perl api. | Stig Thormodsrud | |
2010-12-02 | change "load" to use new backend loadFile implementation. | An-Cheng Huang | |
* export loadFile through perl API. * "load" operation is now handled by the backend library. | |||
2010-11-22 | export backend sessionChanged() through perl API | An-Cheng Huang | |
2010-08-25 | switch to unordered_map | An-Cheng Huang | |
2010-08-13 | add API function for retrieving deleted values of a multi node. | An-Cheng Huang | |
2010-07-30 | add default status observers | An-Cheng Huang | |
2010-07-28 | add new cstore library | An-Cheng Huang | |