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

Clean up how messages are printed when CDS aborts start-up

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      Currently tty->print is commonly used for printing out error messages like the following in CDS code. They can be converted to use log_error().

      void MetaspaceShared::link_and_cleanup_shared_classes(TRAPS) {
      ...
            tty->print_cr("Please remove the unverifiable classes from your class list and try again");
            exit(1);

        Attachments

          Activity

            People

            Assignee:
            ccheung Calvin Cheung
            Reporter:
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: