[icinga-checkins] icinga.org: icinga2/feature/memory-usage: Improve config compiler' s memory usage

git at icinga.org git at icinga.org
Sat Nov 8 12:54:32 CET 2014


Module: icinga2
Branch: feature/memory-usage
Commit: cf619f7edd75427448043e1e953fc63dfd2f41a2
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=cf619f7edd75427448043e1e953fc63dfd2f41a2

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Thu Nov  6 19:35:47 2014 +0100

Improve config compiler's memory usage

---

 lib/base/dynamicobject.hpp             |    2 +-
 lib/base/dynamicobject.ti              |    4 +-
 lib/base/dynamictype.cpp               |   13 --
 lib/base/dynamictype.hpp               |    1 -
 lib/base/value.hpp                     |    3 +
 lib/cli/daemoncommand.cpp              |    7 +-
 lib/config/applyrule.cpp               |    8 +-
 lib/config/applyrule.hpp               |   10 +-
 lib/config/configcompilercontext.cpp   |   50 ++++++
 lib/config/configcompilercontext.hpp   |    8 +
 lib/config/configitem.cpp              |  255 ++++++++++-------------------
 lib/config/configitem.hpp              |   19 +--
 lib/config/configitembuilder.cpp       |    2 +-
 lib/config/configitembuilder.hpp       |    4 +-
 lib/config/expression.cpp              |  280 ++++++++++++++++++++------------
 lib/config/expression.hpp              |   78 ++++-----
 lib/config/objectrule.cpp              |    8 +-
 lib/config/objectrule.hpp              |   10 +-
 lib/config/typerule.cpp                |    3 +
 lib/icinga/command.cpp                 |    2 +-
 lib/icinga/dependency-apply.cpp        |    1 -
 lib/icinga/dependency.cpp              |   16 +-
 lib/icinga/dependency.ti               |    2 +-
 lib/icinga/notification-apply.cpp      |    1 -
 lib/icinga/notification.cpp            |   16 +-
 lib/icinga/notification.ti             |    2 +-
 lib/icinga/scheduleddowntime-apply.cpp |    1 -
 lib/icinga/scheduleddowntime.cpp       |   12 +-
 lib/icinga/scheduleddowntime.ti        |    2 +-
 lib/icinga/service-apply.cpp           |    1 -
 lib/icinga/service.cpp                 |    9 +-
 lib/icinga/service.ti                  |    2 +-
 tools/mkclass/classcompiler.cpp        |    6 +
 33 files changed, 442 insertions(+), 396 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=cf619f7edd75427448043e1e953fc63dfd2f41a2


More information about the icinga-checkins mailing list