cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santhosh Edukulla <>
Subject RE: Review Request 23194: Fixed Coverity reported performance issues
Date Tue, 01 Jul 2014 12:25:50 GMT

You are added as reviewer, not sure why comments were disabled. 

Do you see it as an issue when used in its current form, considering original issue is to
minimize the lookups? Can be helpful with this way, down the lane if we are to use entry for
some other purpose? Assuming putall provides same efficiency as the current form we have.

From: Daan Hoogland []
Sent: Tuesday, July 01, 2014 8:13 AM
To: Santhosh Edukulla
Cc: Abhinandan Prateek; cloudstack
Subject: Re: Review Request 23194: Fixed Coverity reported performance issues

I can't seem to put a comment in this review request, hence a mail:

why not use calls to putAll instead of the iteration over all elements? (only valid for the
first few iteration, where no further processing is done on the Entry)

On Tue, Jul 1, 2014 at 8:59 AM, Santhosh Edukulla <<>>
This is an automatically generated e-mail. To reply, visit:

Review request for cloudstack, Abhinandan Prateek and daan Hoogland.
By Santhosh Edukulla.
Bugs: coverity<>
Repository: cloudstack-git

Fixed Coverity reported performance issues like inefficient string concatenations, wrong boxing
or unboxing types, inefficent map element retrievals.


Built the code using simulator and deployed a datacenter


  *   api/src/org/apache/cloudstack/api/command/admin/systemvm/ (68e9f94)
  *   api/src/org/apache/cloudstack/api/command/admin/systemvm/ (d71ef03)
  *   api/src/org/apache/cloudstack/context/ (f29ae96)
  *   core/src/com/cloud/agent/resource/virtualnetwork/ (7bb6f5e)
  *   engine/orchestration/src/com/cloud/agent/manager/ (f11f69f)
  *   plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/
  *   plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/
  *   plugins/network-elements/netscaler/src/com/cloud/network/element/
  *   plugins/network-elements/netscaler/src/com/cloud/network/resource/
  *   plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/
  *   server/src/com/cloud/api/ (ed48d0b)
  *   server/src/com/cloud/api/ (2ce6281)
  *   server/src/com/cloud/api/dispatch/ (1592b93)
  *   server/src/com/cloud/api/dispatch/ (12e1226)
  *   server/src/com/cloud/api/query/ (1182be5)
  *   server/src/com/cloud/api/query/dao/ (80ef0f6)
  *   server/src/com/cloud/configuration/ (bb32c37)
  *   server/src/com/cloud/network/ (a574f10)
  *   server/src/com/cloud/network/vpc/ (71f2316)
  *   server/src/com/cloud/server/ (694f3cd)
  *   server/src/com/cloud/server/ (29ace93)
  *   server/src/com/cloud/storage/ (7af404e)
  *   server/src/com/cloud/storage/snapshot/ (71cf083)
  *   server/src/com/cloud/template/ (e2204da)
  *   server/src/com/cloud/template/ (694bd03)

View Diff<>


View raw message