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

Aleksey Shipilev shade at redhat.com
Mon May 4 12:48:31 UTC 2020


On 5/4/20 2:37 PM, Ofir Gordon wrote:
> If there any other advice how to use run the gc on an external hardware
> (than the one running the jvm) or if someone had expirience with such a
> task, I'll be glad to hear about it.

>From the problem description, I would suggest to look at Epsilon to understand where it is hooked
into runtime interface in allocation paths, and then this post [1] that builds the trivial
mark-compact over it. I think it would then be evident how marking is done, and how objects are
iterated with shared code [2]. After that, understanding other collectors would hopefully be simpler.

-- 
Thanks,
-Aleksey

[1] https://shipilev.net/jvm/diy-gc/
[2] https://shipilev.net/jvm/diy-gc/#_marking



More information about the hotspot-gc-dev mailing list