JDK-8369393 : NMT: poison the malloc header and footer under ASAN build
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2025-10-08
  • Updated: 2025-12-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 27
27Unresolved
Related Reports
Relates :  
Description
Currently, NMT can detect memory corruption only at free time by checking the canary values in the header and footer. We can poison the canary parts using ASAN API to get notified(asserted) immediately after reading/writing of them.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28503 Date: 2025-11-26 11:05:21 +0000
26-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27685 Date: 2025-10-08 08:40:15 +0000
08-10-2025