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

Output of -XX:+TraceClassLoadingPreorder in JDK9 incompatible with MakeClasslist tool

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: performance
    • Labels:
      None
    • Resolved In Build:
      b73
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The non-build tool MakeClasslist is broken for JDK9, since the tool relies on TraceClassLoadingPreorder outputting classes with the full path to the JAVA_HOME:

        ./make/non-build-utils/src/build/tools/makeclasslist/MakeClasslist.java

        Since -XX:DumpLoadedClassList=<file> was added in JDK-8034900 the best alternative seem to be to update documentation to use this flag when collecting classlist and retire the MakeClasslist.java tool (perhaps along with the -XX:+TraceClassLoadingPreorder flag)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  redestad Claes Redestad
                  Reporter:
                  redestad Claes Redestad
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: