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

Reconcile jvm.h, all jvm_md.h, and jni_md.h between java.base and hotspot

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b33

      Description

      The file jvm.h and the various platform-specific jvm_md.h (which are named jvm_<platform>.h in hotspot) have diverted quite a lot from each other between the hotspot version and the java.base version.

      There should only be one instance of each of these files.

      For what it's worth, it's the java.base version that gets exported with the JRE/JDK image, so a reasonable first assumption is that that version trumps the hotspot version. For jvm.h, it is obvious that there have been a lot of fixes to the java.base version (e.g. corrected typos), but it's not clear that *all* changes in the hotspot jvm.h should go away.

      Hotspot has used a special technique for including platform specific files, #include OS_HEADER_H(jvm).

      I would consider this bug fixed even if this difference remains -- I'll fix the include/build issues in a separate bug, as long as I know that there are no significant code differences.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                ihse Magnus Ihse Bursie
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: