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

ThreadCritical crashes on Solaris if used between os::init and os::init_2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 10
    • hotspot
    • None
    • b31

    Description

      ThreadCritical::initialize is called from os::init, before that the acual mutex calls are short-circuited on Solaris.

      If ThreadCritical is used after the call to initialize but before os::init_2 then os::Solaris::_mutex_lock is still uninitialized and we crash.

      Attachments

        Activity

          People

            mgerdin Mikael Gerdin (Inactive)
            mgerdin Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: