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

Add cross-platform compact profiles support

XMLWordPrintable

    • Icon: Backport Backport
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u60
    • 8u60
    • embedded
    • None
    • b01

      Compact Profiles support was added in 8, but only for the Linux platform. I've now generalized this support to all the other platforms. This is an 8u only change, targetting 8u60, as soon as the jdk8u/dev starts accepting things for 8u60.

      The changes are not that extensive - mostly generalizing the lists and accounting for different platforms putting files into different places (jre/lib/<arch> vs jre/lib vs jre/bin). It isn't necessary to produce detailed per-platform lists as files that don't exist simply don't get copied; but when files are obviously platform specific then I add them under suitable guards.

      The biggest complexity comes from the debuginfo files, and in particular unzipped debuginfo files. This accounts for the bulk of the changes in profiles-includes.txt, as we try to identify the set of debug files that might exist for each library (and OSX is the main complication due to the .dSYM directory because the existing rules only copy files not directories). Suggestions for reducing the duplicated patterns would be appreciated.

      Platform specific contents were determined in conjunction with examination of what Jigsaw is using in JDK 9 for the base module.

      I tested all the main platforms (Windows, Linux, Solaris and OSX) and with/without zipping of debuginfo files. Note that Windows builds will not work with unzipped debuginfo files due to 8025936, but I checked that multiple debug info files were expanded into the right set of targets.

            dholmes David Holmes
            hgupdate HG Updates
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: