Can we implement SafeFetch without using signals?

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot

      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?

            Assignee:
            Unassigned
            Reporter:
            Gerard Ziemski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: