A couple of questions for G1 developers

Andrew Haley aph at redhat.com
Mon Jun 3 10:55:49 UTC 2019


On 6/3/19 11:42 AM, Andrew Haley wrote:
> I'm debugging a crash that may have nothing to do with G1. However:
> 
> 1. What is the structure of the G1BlockOffsetTable? It looks like an
>    offset (in HeapWords?) for each chunk, from the start of the chunk
>    to the start of the object which begins that chunk. So, if an
>    object straddles a chunk binary, the offset is subtracted from the
>    start of the chunk to give an oop.

A supplementary question: how are TLABs handled by this?

-- 
Andrew Haley
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