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

Minor cleanups in VMError

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b03

      A list of smaller cleanups, each one too small to justify an own issue:

      1) VMError exposes is_error_reported(), fatal_error_in_progress() and get_first_error_tid(). These functions are used from outside to check on the state of error handling. They can be combined and duplicate coding removed.
      2) A lot of methods are unnecessarily public
      3) some global variables in vmError.cpp can be limited to file scope
      4) definition of VMError static variables should be combined to the start of the cpp file

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: