Remove oop coupling with InstanceKlass subclasses

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b93
    • generic
    • generic

      It's a bit fishy for oop/oopDesc to have knowlege about the subclasses of InstanceKlass, as provided via the is_instanceXXX suite of functions (is_instanceRef, is_instanceMirror, is_instanceClassLoader). There are also very few uses of these functions. So we should just remove them.

      There are:
      Two uses of is_instanceRef, both in assertions.
      One use of is_instanceMirror.
      No uses of is_instanceClassLoader.

      Also remove the unused (and in some cases misspelled) is_instanceRef_noline, is_instanceMirror_noinline, and is_instanceClassLoader_noline. [These also use the unsuffixed functions, but I didn't include them in the above counts, since none of these are used.]

            Assignee:
            Coleen Phillimore
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: