cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [4/6] git commit: updated refs/heads/master to fac259f
Date Mon, 18 Jan 2016 15:00:55 GMT
Merge pull request #1294 from miguelaferreira/nsx-execution-counter-per-thread

Implement a NSX API request execution counter per threadThe NSX plugin has a execution counter
to prevent infinite recursion (and as a result a stack overflow exception). However, the thread
safeness of this counter are not as desired. The counter was implemented with an AtomicInteger
which make it safe for multiple threads to update and read it. The desired property would
be to have a counter per thread.

This PR addresses that issue.

* pr/1294:
  Fix execution counter to support separate counts per thread
  Add test to check that each thread has it's own execution counter

Signed-off-by: Remi Bergsma <github@remi.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1f1da0fa
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1f1da0fa
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1f1da0fa

Branch: refs/heads/master
Commit: 1f1da0fa594ef5fad2974cea371c7a5f635488b6
Parents: 24277e1 c35c416
Author: Remi Bergsma <github@remi.nl>
Authored: Mon Jan 18 12:41:20 2016 +0100
Committer: Remi Bergsma <github@remi.nl>
Committed: Mon Jan 18 12:41:21 2016 +0100

----------------------------------------------------------------------
 .../cloud/network/nicira/ExecutionCounter.java  | 12 +++--
 .../network/nicira/ExecutionCounterTest.java    | 47 ++++++++++++++++++++
 2 files changed, 55 insertions(+), 4 deletions(-)
----------------------------------------------------------------------



Mime
View raw message