JDK-8268865 : Release Note: Deprecate JVM TI Heap functions 1.0
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2021-06-16
  • Updated: 2021-06-25
  • Resolved: 2021-06-24
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 17
17Resolved
Description
The following JVM TI functions have been deprecated in this release:
    IterateOverObjectsReachableFromObject
    IterateOverReachableObjects
    IterateOverHeap
    IterateOverInstancesOfClass

These functions were superseded in JVM TI version 1.2 (Java SE 6) by more powerful and flexible versions. These functions will be changed to return an error in a future release to indicate that they are no longer implemented/supported. The VM flags `-Xlog:jvmti=trace and -XX:TraceJVMTI=<function_name>` can be used to identify any residual usages of these functions, e.g. `-Xlog:jvmti=trace -XX:TraceJVMTI=IterateOverHeap` is one way to get trace output when IterateOverHeap is used.
Comments
RN needs to be resolved as delivered not Fixed
24-06-2021

This RN was reviewed by Alan, Iris and Kevin - resolving it.
22-06-2021