/[Apache-SVN]
ViewVC logotype

Revision 1642790


Jump to revision: Previous Next
Author: rwhitcomb
Date: Tue Dec 2 00:00:34 2014 UTC (9 years, 4 months ago)
Changed paths: 1
Log Message:
Change the code in ChartView.java "setValueMarkers" method to not create a new
list listener every time.  The listener is notifying the skin (basically) when
changes in the value markers list happen, so it only needs to be created once
and then assigned to the new list every time the list changes.  And it must
be removed from the old list at that time.  Change the logic to look like all
other such occurrences.

Basically, heap monitoring showed the large number of these listener objects
being created, which are unnecessary.


Changed paths

Path Details
Directorypivot/trunk/charts/src/org/apache/pivot/charts/ChartView.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26