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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • hotspot
    • b18

      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);

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

              Created:
              Updated:
              Resolved: