Moti Asayag has submitted this change and it was merged.
Change subject: core: Add isEmpty Check to MacPoolManager
......................................................................
core: Add isEmpty Check to MacPoolManager
This patch adds an isEmpty() check to the
freeMacs method, in the MacPoolManager,
to avoid entering a synchronized block when
unnecessary.
Change-Id: Id34bae38c0a05e1e148267950ca1ca464b36daea
Bug-Url:
https://bugzilla.redhat.com/903572
Signed-off-by: Muli Salem <msalem(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/MacPoolManager.java
1 file changed, 12 insertions(+), 10 deletions(-)
Approvals:
Moti Asayag: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/11871
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id34bae38c0a05e1e148267950ca1ca464b36daea
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Muli Salem <msalem(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>