Isolating the GC code from the jvm to run on external accelerator

Andrew Haley aph at redhat.com
Tue May 5 08:52:08 UTC 2020


On 5/5/20 8:25 AM, Ofir Gordon wrote:
> Another question after reading the mark-compact based on the Epsilon GC
> tutorial - I still don't understand how it gets from oop_iterate to
> preorming the closure's do_oop_work method which actually does the marking..
> I understand that if I want to implement a new GC i don't need to mind
> that, but I'm trying to understand all the dependencies in the marking dlow
> for the existing GCs, so I need to figure out how is the call to
> do_oop_work is being made and where? what is the complete flow?

Just put a breakpoint on the closure's do_oop_work and step through.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-gc-dev mailing list