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

Can we implement SafeFetch without using signals?

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • None
    • hotspot

    Description

      macOS 14.4.0 bug that raised SIGKILL signal instead of SIGBUS for unmapped memory access caused our JDK to crash.

      What if we could find a way to implement SafeFetch without using signals?

      If we could do it without incurring much performance penalty, it might be worth investigating.

      For example, NMT is an active area of development right now, so maybe we could leverage some of the NMT mechanism for recording memory allocations, to verify if a memory pointer belongs to us?

      Attachments

        Activity

          People

            Unassigned Unassigned
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: