mmtk-core icon indicating copy to clipboard operation
mmtk-core copied to clipboard

Immix GC straddling object optimisation

Open wenyuzhao opened this issue 3 years ago • 5 comments

Add OpenJDK fast path code to log straddling objects. Do this after Immix PR is merged.

wenyuzhao avatar Jul 26 '21 05:07 wenyuzhao

In Java MMTk, if an object is straddling lines, we set a bit for the object to know that it is a straddling object. And when we mark lines, we do this:

mark_one_line
if straddling
  mark_multiple_lines

In our current code, we always do mark_multiple_lines which always calls get_current_size() for the object.

qinsoon avatar Jun 22 '23 03:06 qinsoon