Previous: JIT Compiler Up: Table of Contents Next: Object layout

Memory system

This topic has missing or partial documentation. Please help us improve it.

See How-To - Write Documentation

Introduction

In this section the memory system of the Rubinius virtual machine is described. The first chapter explains how objects are layed out in memory. The concept of immediates or tagged pointers will be explained, as well as how we work with types the virtual machine is aware of. Another important thing to know is how we create compact object so we use the memory in your system more efficiently.

The second chapter involves the garbage collector and how we use a Generational Garbage Collector (GC) to clean up after the waste your application generates. It will also explain how we ensure that concurrent allocation of objects performs well and how you have to consider the implications of a moving garbage collector when working with the virtual machine code.

  1. Object layout
  2. Garbage collector
Previous: JIT Compiler Up: Table of Contents Next: Object layout

Tweet at @rubinius on Twitter or email community@rubini.us. Please report Rubinius issues to our issue tracker.