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

The JvmtiThreadState::_exception_state is inconsistent.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • hotspot
    • None

      Field
      JvmtiThreadState::_exception_state
      is used to preserve information about current thread state.

      It is used to check if method should post exception while exiting or not. However, it seems that this decision can be done without this method, based on the information about how method has been called (exit or unwind).

      Also, this field might be incorrect if thread called some method while unwinding stack. In this case thread has status "exception detected" while the current method is exiting without exception .

      It is needed to revise this field and decide if it should be removed or cleared/restored for any upcall/event handling to be always consistent.

            lmesnik Leonid Mesnik
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: