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

G1: reuse the newly allocated G1SegmentedArrayBuffer even if current thread failed the race

    XMLWordPrintable

    Details

    • Subcomponent:
      gc

      Description

      This is a follow-up of JDK-8273626.

      Current (original) implementation just drops the newly allocated G1SegmentedArrayBuffer if current thread fails race, but seems reuse (e.g adding to freelist) will bring some benefit.


      https://github.com/openjdk/jdk/pull/5478#issuecomment-938498538

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mli Hamlin Li
              Reporter:
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: