Integrated: 8369451: Debug agent support for USE_ITERATE_THROUGH_HEAP is broken and should be removed
Chris Plummer
cjplummer at openjdk.org
Thu Oct 16 16:56:57 UTC 2025
On Wed, 8 Oct 2025 21:52:19 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Remove support for the debug agents USE_ITERATE_THROUGH_HEAP support, and the debugflags option used to enable it. Support has been broken for a very long time and can't possibly be relied on by anyone. Please see the CR for a full description.
>
> Note there is a very small compatibility risk with removing the debugflags option (any script that uses it would break). But since it was only used in support of USE_ITERATE_THROUGH_HEAP, is not included in the docs, and is only included in the help output for debug builds, I think the risk is very low. If used, script failures are likely a good thing as it would call attention to the fact that the user is attempting to use functionality that doesn't (and hasn't) worked.
This pull request has now been integrated.
Changeset: 873666d1
Author: Chris Plummer <cjplummer at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/873666d157340b3b953ad869576afd30d4304610
Stats: 101 lines in 3 files changed: 2 ins; 79 del; 20 mod
8369451: Debug agent support for USE_ITERATE_THROUGH_HEAP is broken and should be removed
Reviewed-by: sspitsyn, amenkov
-------------
PR: https://git.openjdk.org/jdk/pull/27706
More information about the serviceability-dev
mailing list