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

Make ThreadSafepointState::_at_poll_safepoint DEBUG_ONLY

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot

      Description

      After JDK-8255384, _at_poll_safepoint is only checked in:
      - disarm_safepoint() inside an assert
      - ThreadSafepointState::print_on()
      - check_and_handle_async_exceptions(). Block code dependant on is_at_poll_safepoint() is dead code so that should be changed to an assert(!is_at_poll_safepoint()).

        Attachments

          Activity

            People

            Assignee:
            pchilanomate Patricio Chilano Mateo
            Reporter:
            pchilanomate Patricio Chilano Mateo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: