Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8306027

Clarify JVMTI heap functions spec about virtual thread stack.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 21
    • None
    • hotspot
    • b22
    • generic
    • generic

    Description

      Specification of FollowReferences function says:
       The heap root are the set of system classes, JNI globals, references from thread stacks, and other objects used as roots for the purposes of garbage collection.
      But virtual threads and their stacks are deliberately not roots.
      Need to update the spec to reflect this.
      The same issue with IterateOverReachableObjects spec:
       The root objects comprise the set of system classes, JNI globals, references from thread stacks, and other objects used as roots for the purposes of garbage collection.

      Also need to update description of JVMTI_HEAP_REFERENCE_STACK_LOCAL, JVMTI_HEAP_REFERENCE_JNI_LOCAL values as their descriptions says "Heap root reference".

      Attachments

        Issue Links

          Activity

            People

              amenkov Alex Menkov
              amenkov Alex Menkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: