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

JvmtiExport::weak_oops_do is called for all JNIHandleBlock instances

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • None
    • gc
    • b31

      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.

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

              Created:
              Updated:
              Resolved: