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

Shenandoah: ShenandoahMarkingContext asserts are unnecessary

    XMLWordPrintable

Details

    • gc
    • b07

    Backports

      Description

        There are two shenandoah_assert_not_forwarded asserts that are not necessary in mark_{strong,weak}, because the only caller already asserts this higher-level invariant. There is no need to check it in ShenandoahMarkingContext once again. This simplifies the fastpath in fastdebug builds.

        Attachments

          Issue Links

            Activity

              People

                shade Aleksey Shipilev
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: