Closes #808

BROOKLYN-528: same proxy class for all entities of type

Fixes https://issues.apache.org/jira/browse/BROOKLYN-528

As well as fixing the space leak and decreasing the memory usage, this improves 
performance of entity creation from about 90 per second to about 230 per second 
(on my laptop).


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/664ee0ea
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/664ee0ea
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/664ee0ea

Branch: refs/heads/master
Commit: 664ee0ea79b00f5056e1cea583a1e47535219b5c
Parents: 2fea6d1 a635dc0
Author: Geoff Macartney <[email protected]>
Authored: Thu Aug 31 18:06:39 2017 +0100
Committer: Geoff Macartney <[email protected]>
Committed: Thu Aug 31 18:06:39 2017 +0100

----------------------------------------------------------------------
 .../core/objs/proxy/ClassLoaderCache.java       | 121 +++++++++++++++++++
 .../core/objs/proxy/InternalEntityFactory.java  |  31 +----
 .../core/objs/proxy/ClassLoaderCacheTest.java   |  82 +++++++++++++
 .../qa/performance/EntityPerformanceTest.java   |  18 +++
 4 files changed, 224 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


Reply via email to