Change in ovirt-engine[ovirt-engine-3.5]: restapi: Faster JAXB element creation

Tal Nisan has submitted this change and it was merged. Change subject: restapi: Faster JAXB element creation ...................................................................... restapi: Faster JAXB element creation Currently when we need to create a JAXB element we always iterate the object factory looking for the appropiate method. To improve the performance of this lookup this patch introduces an index that is created during startup so that the iteration is done only once. Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa Bug-Url: https://bugzilla.redhat.com/1250140 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> (cherry picked from commit d078c564be5e1a620850259571052a76052aaed8) --- M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/xml/JAXBProvider.java 1 file changed, 19 insertions(+), 13 deletions(-) Approvals: Tal Nisan: Passed CI tests Ori Liel: Looks good to me, approved Juan Hernandez: Verified -- To view, visit https://gerrit.ovirt.org/44933 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ori Liel <oliel@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
tnisan@redhat.com