Module: AbstractReflection::GCMirror
- Includes:
- Mirror
- Defined in:
- lib/abstract_reflection/gc_mirror.rb
Overview
Reflective access to the GC. This includes statistics, runtime behavior observation and triggering specific GC functionality.
Instance Attribute Summary
Attributes included from Mirror
Instance Method Summary collapse
-
#collect_garbage ⇒ Object
Trigger a GC run.
-
#compact_memory ⇒ Object
Run memory compaction.
Methods included from Mirror
#initialize, #mirrors?, #name, #reflectee
Methods included from Mirror::ClassMethods
#included, #mirror_class, #new, #reflect, #reflect!, #reflects?, #register_mirror
Instance Method Details
#collect_garbage ⇒ Object
Trigger a GC run
9 10 11 |
# File 'lib/abstract_reflection/gc_mirror.rb', line 9 def collect_garbage raise CapabilitiesExceeded end |
#compact_memory ⇒ Object
Run memory compaction
15 16 17 |
# File 'lib/abstract_reflection/gc_mirror.rb', line 15 def compact_memory raise CapabilitiesExceeded end |