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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: