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

Simplify including platform files.

XMLWordPrintable

    • b131

      Hotspot currently contains five cpu ports and five os ports. Platform dependent files carry the platform name in the filename. These are currently included in shared files by #ifdef cascades. Adding a new platform port requires editing all these cascades to add the new includes.

      This change replaces the cascades by macros that construct the proper file name. This way, the include cascades can be removed without having to rename the files. The only drawback is that the same headers have to exist on all platforms, thus this change adds a few empty headers (as acroAssembler_x86.inline.hpp).

            goetz Goetz Lindenmaier
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: