[Midnightbsd-cvs] [MidnightBSD/mports] f3c2d5: java/openjdk: handle SIGBUS implicit null checks

Lucas Holt noreply at github.com
Thu Jul 2 17:08:31 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: f3c2d5a526d7515ed5ca9dd4c9e0bb2d0c00bf98
      https://github.com/MidnightBSD/mports/commit/f3c2d5a526d7515ed5ca9dd4c9e0bb2d0c00bf98
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    A java/openjdk17/files/patch-src_hotspot_os_cpu_bsd_x86_os__bsd__x86.cpp
    A java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__x86_vm_os__bsd__x86.cpp

  Log Message:
  -----------
  java/openjdk: handle SIGBUS implicit null checks

Treat SIGBUS on MidnightBSD like Darwin in the BSD x86 signal handlers so C2 compressed-oops implicit null checks can reach the HotSpot null-exception continuation instead of the unsafe/MappedByteBuffer path.

AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: b73bae6908e634251bac9ea620aa750be174ad5d
      https://github.com/MidnightBSD/mports/commit/b73bae6908e634251bac9ea620aa750be174ad5d
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    A java/openjdk11/files/patch-src_hotspot_os_cpu_bsd_x86_os__bsd__x86.cpp
    A java/openjdk18/files/patch-src_hotspot_os_cpu_bsd_x86_os__bsd__x86.cpp

  Log Message:
  -----------
  java/openjdk11,18: handle SIGBUS implicit null checks

Apply the MidnightBSD SIGBUS signal-handler fix to the remaining native OpenJDK ports that have the same BSD x86 compressed-oops implicit null-check path.

AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


Compare: https://github.com/MidnightBSD/mports/compare/f1ffd46f8fc6...b73bae6908e6

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list