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

Implicit in-heap check in G1CollectedHeap::in_cset_fast_test() not always required

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • 9
    • hs25, 8
    • hotspot
    • gc

    Description

      G1CollectedHeap::in_cset_fast_test() implicitly checks whether the given reference is within the G1 heap. Particularly in some closure code, this check is already performed earlier (mostly the NULL check).

      This additional check is not required in these cases.

      The suggestion is to add a variant that does not do this implicit bounds check.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: