(reflect) inefficient methods in java.lang.Class due to non-cached natives

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Rejected
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs

      The follwing methods in Class are native. Given the high overhead of calling
      a native method, they should either be rewritten to cache their results, or
      they should be intrinsified by the VM.

      Class.isInterface()
      Class.isArray()
      Class.isPrimitive()
      Class.getSuperclass()
      Class.getInterfaces()
      Class.getComponentType()
      Class.getModifiers()
      Class.getSigners()
      Class.getDeclaringClass()

            Assignee:
            Unassigned
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: