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

Improve how JNIHandleBlock::oops_do distinguishes oops from non-oops

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 14
    • 14
    • hotspot
    • b10

    Description

      In JNIHandleBlock::oops_do(), the blocks may contain free list next pointers or oops. The distinction is detected by asking the CollectedHeap if the pointer value is in the heap reserve or not.

      This forces GCs to have one single contiguous heap reservation, without holes in it, which seems like an unnecessary restriction.

      Attachments

        Activity

          People

            eosterlund Erik Ă–sterlund
            eosterlund Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: