From f5d8bd0dd50bcd963b4062997aecb4e15249e30d Mon Sep 17 00:00:00 2001 From: Afshin Zafari Date: Wed, 5 Nov 2025 08:57:02 +0000 Subject: [PATCH] 8370874: [asan] ASAN build fails after JDK-8368365 Reviewed-by: haosun, dholmes, syan, stuefe --- src/hotspot/share/sanitizers/address.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hotspot/share/sanitizers/address.cpp b/src/hotspot/share/sanitizers/address.cpp index b050039b1b8..7d129feab0a 100644 --- a/src/hotspot/share/sanitizers/address.cpp +++ b/src/hotspot/share/sanitizers/address.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2025, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -25,6 +25,7 @@ #ifdef ADDRESS_SANITIZER #include "logging/log.hpp" +#include "runtime/globals_extension.hpp" #include "sanitizers/address.hpp" #include "utilities/globalDefinitions.hpp" #include "utilities/vmError.hpp"