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

Eliminate offset_of

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      We no longer need `offset_of` in HotSpot code, and can instead directly use `offsetof`. One benefit of this is that offsetof is constexpr, which we should try to make use of when converting uses. (That means the update shouldn't be done as a simple sed script replacement, and maybe should be broken up into chunks.)

            Unassigned Unassigned
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: