-
Sub-task
-
Resolution: Delivered
-
P4
-
17
-
Verified
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. For example, `-Xlog:jvmti=trace -XX:TraceJVMTI=IterateOverHeap` is one way to get trace output when IterateOverHeap is used.
- `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. For example, `-Xlog:jvmti=trace -XX:TraceJVMTI=IterateOverHeap` is one way to get trace output when IterateOverHeap is used.