< prev index next >

src/java.desktop/share/classes/sun/java2d/StateTrackable.java

Print this page

        

*** 127,139 **** * While this state transition more accurately reflects the temporary * loss of tracking during the modification phase, in reality the * time period of the modifications would be small in most cases * and the 2 changes of state would each require synchronization. * <p> ! * In comparison the act of setting the <code>curTracker</code> * reference to null in the usage pattern above effectively invalidates ! * all outstanding <code>Tracker</code> objects as soon as possible * after the change to the data and requires very little code and no * synchronization to implement. * <p> * In the end it is up to the implementor of a StateTrackable object * how fine the granularity of State updates should be managed based --- 127,139 ---- * While this state transition more accurately reflects the temporary * loss of tracking during the modification phase, in reality the * time period of the modifications would be small in most cases * and the 2 changes of state would each require synchronization. * <p> ! * In comparison the act of setting the {@code curTracker} * reference to null in the usage pattern above effectively invalidates ! * all outstanding {@code Tracker} objects as soon as possible * after the change to the data and requires very little code and no * synchronization to implement. * <p> * In the end it is up to the implementor of a StateTrackable object * how fine the granularity of State updates should be managed based
< prev index next >