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

Cleanup _suspend_flags and _special_runtime_exit_condition

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b23

      There are a couple of cleanups that need to be done:
      - Move _suspend_flags and asynchronous exception related fields from class Thread to JavaThread
      - Rename _special_runtime_exit_condition to _async_exception_condition and related methods. This name has been mixed up with the suspend flags which are checked together in has_special_runtime_exit_condition() and handle_special_runtime_exit_condition().
      - Decouple _suspend_flags from asynchronous exception as much as possible by removing methods has_async_exception(), set_has_async_exception() and clear_has_async_exception() associated with _suspend_flags since they create confusion as to who actually manages asynchronous exceptions.

            pchilanomate Patricio Chilano Mateo
            pchilanomate Patricio Chilano Mateo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: