Managing Arrays with the OMR GC
In this tutorial, we aim to help you enable garbage collection (GC) for array types in Eclipse OMR. As a budding GC expert, you will achieve this goal by defining an array-based object model for two kinds of arrays: 1) reference array to store references; and 2) byte array to store unstructured data. By the end of the tutorial, you will be able to run a simple benchmark to see how these arrays are automatically managed by the GC.
You will need:
- a C++ 11 toolchain (gcc, clang, or msvc)
- linux, windows, or osx
- cmake 3.11+, and a supported backend build system
Before the tutorial you should have cloned this repository:
git clone --recursive https://github.com/rwy0717/splash2018-gc-arrays
Make sure you've cloned the submodules!
If you've missed the presentation, start by reading the slide notes before moving on to the workshop exercises. Your tasks for this workshop are laid out in the worksheet. There is a mini API reference that you can consult while you're working through the exercises.
Thanks for stopping by and checking us out!