Michael Kublin has submitted this change and it was merged.

Change subject: engine: TimeoutBase - Improving memory footprint - continue
......................................................................


engine: TimeoutBase - Improving memory footprint - continue

After changes inside TimeoutBase, I found out that the cache is used only as 
place holder,
so instead of putting TimeouBase object to cache I decided to put String, also 
possible to put
some king const Object but, I think it is not make any difference
Benefit - String should take less memory than TimeoutBase will all loaded 
objects from DB

Change-Id: I795019a35a57fef688296d9f1083bc77c9272bc7
Signed-off-by: Michael Kublin <[email protected]>
---
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/TimeoutBase.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/cache/CacheManager.java
2 files changed, 3 insertions(+), 5 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/14158
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I795019a35a57fef688296d9f1083bc77c9272bc7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Laszlo Hornyak <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to