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

Klass::array_klass() should return ArrayKlass pointer

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • b09

    Description

      Many of the HotSpot APIs that deal with array klasses use Klass* as the type (for both parameters and return value). This causes a lot of unnecessary type casts in the C++ code.

      These APIs should be changed to use ArrayKlass, TypeArrayKlass and ObjArrayKlass as appropriate.

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: