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

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

XMLWordPrintable

    • gc

      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

            mli Hamlin Li
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: