INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Facilities for tuning up the garbage collection mechanism.", "This class may be used as ancestor by classes needing its facilities."
project: "Eiffel Kernel Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: kernel
class MEMORY
feature -- Status report

collecting: BOOLEAN
-- Is garbage collection enabled?
feature -- Status setting

collection_off
-- Disable garbage collection

collection_on
-- Enable garbage collection
feature -- Removal

dispose
-- Action to be executed just before garbage collection
-- reclaims an object.
-- Default version does nothing; redefine in descendants
-- to perform specific dispose actions. Those actions
-- should only take care of freeing external resources
-- they should not perform remote calls on other objects
-- since these may also be dead and reclaimed

full_collect
-- Force a full collection cycle if garbage
-- collection is enabled; do nothing otherwise
feature -- X/Special: Garbage Collector controling

set_threshold (new_threshold_size: INTEGER)

set_threshold_delta (new_threshold_delta: INTEGER)
feature -- Visual Eiffel specific: external memory controlling

mem_copy (dest, source: POINTER; bytes_number: INTEGER)

mem_cmp (left, right: POINTER; bytes_number: INTEGER): INTEGER
feature -- Visual Eiffel specific: memory profiling

class_memory (object: ANY): INTEGER

deep_class_memory (object: ANY): INTEGER

gc_calls: INTEGER

gc_times: INTEGER

gc_total_memory: INTEGER

heap_profile

classes_profile
end -- class MEMORY

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES