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

Change multiple get_java_xxx() functions in thread.cpp into one function

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b13

      The various get_java_xxx() functions all seem to do the same thing. I am wondering if they can be combined into a single utility function, so that you can do something like:

      JDK_Version::set_runtime_name(get_version_info(ik, vmSymbols::java_version_name(),
                                    java_version, sizeof(java_version)));

      Suggested by [~iklam]

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: