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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: performance
    • None
    • b73
    • generic
    • generic

        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)

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

                Created:
                Updated:
                Resolved: