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

Move load/store and encode/decode out of oopDesc

    Details

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

      Description

      There are a few places that still use oopDesc::load_decode_heap_oop and friends. Most of the usages where removed when the Access API was introduced, but some are still left. This RFE intends to remove those last usages.

      The load/store functions have been replaced by calls to RawAccess.

      The encode/decode functions main purpose is to deal with oops to/from narrowOop conversions. These functions are moved to a new CompressedOops subsystem.

      The move of the CompressedOops encode/decode functions removes a circular dependency between oop.inline.hpp and access.inline.hpp. After the change we have:
      oop.inline.hpp includes:
        access.inline.hpp
        compressedOops.inline.hpp

      access.inline.hpp includes:
        compressedOops.inline.hpp

        Attachments

          Activity

            People

            • Assignee:
              stefank Stefan Karlsson
              Reporter:
              stefank Stefan Karlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: