Class: Rearview::Vm

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/rearview/vm.rb

Defined Under Namespace

Classes: Heap, Memory, NonHeap

Instance Method Summary collapse

Constructor Details

#initializeVm



46
47
48
# File 'lib/rearview/vm.rb', line 46

def initialize
  @runtime = Runtime.getRuntime()
end

Instance Method Details

#heapObject



60
61
62
# File 'lib/rearview/vm.rb', line 60

def heap
  @heap ||= Heap.new
end

#non_heapObject



64
65
66
# File 'lib/rearview/vm.rb', line 64

def non_heap
  @non_heap ||= NonHeap.new
end