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

Eliminate cast_from_oop to narrowOop*

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • gc
    • b11

    Description

      ObjArrayKlass::oop_oop_iterate_range conditionally calls cast_from_oop with a template parameter of oop* or narrowOop*. Casting an oop to either of those types seems pretty questionable, and is not actually necessary here. Removing that conditional cast would eliminate the only use of cast_from_oop<narrowOop*>().

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: