Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8268241 Deprecate JVM TI Heap functions 1.0
  3. JDK-8268865

Release Note: Deprecate JVM TI Heap functions 1.0

    XMLWordPrintable

Details

    • Verified

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

      Attachments

        Activity

          People

            sspitsyn Serguei Spitsyn
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: