RFR: 8268241: deprecate JVM TI Heap functions 1.0 [v2]

Alan Bateman alanb at openjdk.java.net
Tue Jun 8 06:59:18 UTC 2021


On Tue, 8 Jun 2021 06:49:23 GMT, David Holmes <dholmes at openjdk.org> wrote:

> So ... we're logically deprecating these functions by documenting that they are deprecated, but there is no actual deprecation mechanism for JVM TI - correct? JVM TI versioning cannot be used to remove anything, it can only add new functionality.

I don't think it will be possible to remove the functions but they would return an error such as JVMTI_ERROR_UNSUPPORTED in the some future release. An intermediate step might be to emit a warning when the can_tag_objects capability is enabled.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4406


More information about the serviceability-dev mailing list