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

Convert G1's assert_ macros into NOT_DEBUG_RETURN functions

    Details

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

      Description

      In G1CollectedHeap there are several "assert_*" macros (e.g. assert_heap_locked_and_not_at_safepoint) that were presumably implemented as macros due to bad stack traces in hs_err files.

      Convert them to functions using NOT_DEBUG_RETURN to avoid the macros.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tschatzl Thomas Schatzl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: