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

Transition to _thread_in_vm when handling a polling page exception

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 18
    • hotspot
    • b06

      We should make a transition to _thread_in_vm when processing a polling page exception since we are already executing in the vm. This will also allow us to avoid having to consider yet another state(_thread_in_Java) when calling SafepointMechanism::process_if_requested_with_exit_check() which otherwise forces called code to be aware of thread state and possibly make transitions to _thread_in_vm and back.

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

              Created:
              Updated:
              Resolved: