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

Shenandoah: Prevent recycle-assist during conc-roots

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      In ShFreeSet::allocate_humonguous() we try_recycle_trashed() without considering if conc-roots is in progress (like we do in try_allocate_in()). We must not recycle anything before conc-roots is done, because we need those unreachable objects during conc-reference-processing or conc-class-unloading. This may lead to crashes and is possibly extremely rare: it hasn't shown up anywhere, yet.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkennke Roman Kennke
              Reporter:
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: