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

Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b16

      Description

      Numerous JVM conditionals compare against T_OBJECT and T_ARRAY

      } else if (type == T_OBJECT || type == T_ARRAY) {

      For readability and future extendability replace with a call to

      } else if (is_reference_type(type)) {

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lfoltan Lois Foltan
                Reporter:
                lfoltan Lois Foltan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: