Class: Rearview::Vm::NonHeap
Overview
The JVM manages additional memory that is not part of the heap. This memory is used for things like per-class structures such as a runtime constant pool, field and method data, and the code for methods and constructors.
Instance Attribute Summary
Attributes inherited from Memory
Instance Method Summary collapse
-
#initialize ⇒ NonHeap
constructor
A new instance of NonHeap.
Constructor Details
#initialize ⇒ NonHeap
Returns a new instance of NonHeap.
41 42 43 |
# File 'lib/rearview/vm.rb', line 41 def initialize @memory_bean = ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage() end |