JvmtiExport::weak_oops_do is called for all JNIHandleBlock instances

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: