Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8225716

G1 GC: Undefined behaviour in G1BlockOffsetTablePart::block_at_or_preceding

    XMLWordPrintable

Details

    • gc
    • b26
    • Not verified

    Backports

      Description

        The Block Offset Table is accessed racily in many places. This is UB, but I suspect the authors of G1 assumed that the UB was "benign". In fact it is not, and there is a narrow race condition which causes G1 to crash at times of heavy stress.

        The bug has only ever been observed on 86-32, but it isn't a target-specific bug. It's probably not specific to G1 either.

        Attachments

          Issue Links

            Activity

              People

                aph Andrew Haley
                aph Andrew Haley
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: