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

Direct memory accessors in typeArrayOop.hpp should use Access API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • None
    • gc
    • b03
    • generic
    • generic

      The direct memory accessors in typeArrayOop.hpp, which are usually used for bulk memory access operations, should use the Access API, in order to give the garbage collector a chance to intercept the access (for example, employ read- or write-barriers on the target array). This also means it's necessary to distinguish between write-accesses and read-accesses (for example, GCs might want to use a copy-on-write-barrier for write-accesses only).

            eosterlund Erik Ă–sterlund
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: