charva.awt.event
Class GarbageCollectionEvent
public class GarbageCollectionEvent
An event which can be posted onto the event queue by an application
to trigger garbage-collection. If the event is posted onto the event
queue as the last action in an actionPerformed() method (e.g. after
a menu option or button is invoked), the garbage collection will
take place after the actionPerformed() method has
returned. This is a useful but optional way of limiting the growth
of the heap without causing noticeable delays.
ACTION_PERFORMED, ADJUSTMENT_EVENT, FOCUS_GAINED, FOCUS_LOST, GARBAGE_COLLECTION, INVOCATION_EVENT, ITEM_STATE_CHANGED, KEY_PRESSED, KEY_TYPED, LIST_SELECTION, MOUSE_EVENT, PAINT_EVENT, RESERVED_ID_MAX, SCROLL_EVENT, SYNC_EVENT, WINDOW_CLOSING, WINDOW_OPENED |
GarbageCollectionEvent
public GarbageCollectionEvent(Component source_)