Module: HeapInfo::Cache

Extended by:
ClassMethods
Defined in:
lib/heapinfo/cache.rb

Overview

Self implment file-base cache manager.

Values are recorded in files based on Marshal.

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

CACHE_DIR =

Directory for caching files. e.g. HeapInfo will record main_arena_offset for glibc(s).

File.join(ENV['HOME'], '.cache/heapinfo')

Method Summary

Methods included from ClassMethods

clear_all, key_libc_offset, read, write