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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • hotspot
    • None
    • b33

      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.

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

              Created:
              Updated:
              Resolved: