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

More consistent Access API for arraycopy

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Version:
      10
    • Resolved In Build:
      b17
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Currently, the arraycopy API in access.hpp gets the src and dst oops, plus the src and dst addresses. In order to be most useful to garbage collectors, it should receive the src and dst oops together with the src and dst offsets instead, and let the Access API / GC calculate the src and dst addresses. This would also make the arraycopy API consistent with the other load+store APIs.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: