Logging of all GC memory access
aph at redhat.com
Mon Jun 8 15:31:09 UTC 2020
On 08/06/2020 13:12, Ofir Gordon wrote:
> Thank you both for your answers.
> I was referring to the memory accesses taking place during the gc, and also specifically access to the heap (i.e. access to an object on the heap as part of the marking process etc.)
> Also, are you familiar with a way to get a "snapshot" of the heap at any gc activation? log the addresses where objects are placed, and the pointers between them? is such a thing possible?
Partly. Look for heap->pre_full_gc_dump.
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-gc-dev