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

JvmtiExport::weak_oops_do is called for all JNIHandleBlock instances

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b31

      Description

      The static JvmtiExport::weak_oops_do function is called whenever the member function JNIHandleBlock::weak_oops_do is called on an instance of JNIHandleBlock.

      Today, this isn't causing any bugs because there's only one instance of JNIHanldeBlock, the _weak_global_handles. However, in prototypes with more than one JNIHandleBlocks, this results in multiple calls to JvmtiExport::weak_oops_do.

        Attachments

          Activity

            People

            • Assignee:
              stefank Stefan Karlsson
              Reporter:
              stefank Stefan Karlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: