Remove develop flag StrictSafepointChecks

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: 14
    • Component/s: hotspot
    • b08

      There doesn't seem to be a reason to turn off these checks.

      One reason may have been to have a quick return for product:

      - debug_only(if (StrictSafepointChecks) _thread->check_for_valid_safepoint_state(false);)
      + _thread->check_for_valid_safepoint_state(false);

      But, check_for_valid-safepoint_state is declared in thread.hpp as:

        void check_for_valid_safepoint_state(bool potential_vm_operation) PRODUCT_RETURN;


      So doesn't require debug_only or a const false flag to not generate a call in production.

            Assignee:
            Coleen Phillimore
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: