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

Add missing decorators in calls to to arraycopy_prologue/epilogue

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b15

      Backports

        Description

        Calls to BarrierSetAssambler::arraycopy_prologue/epilogue() are missing the IN_HEAP and IN_HEAP_ARRAY access decorators. This is sort of ok, since the context (we're doing an arraycopy) imply these. However, by not explicitly specifying them we loose the ability to do straight forward checks/asserts on expected/allowed decorators later on in the GC specific BarrierSetAssermbler backends. To avoid having the backends know about this implicit relationship I propose that we explicitly specify them at the call-sites.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pliden Per Liden
                Reporter:
                pliden Per Liden
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: