Refactor JVMTI CallbackInvoker to be local

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 19
    • Component/s: hotspot
    • None
    • generic
    • generic

      Currently, CallbackInvoker in jvmtiTagMap.cpp is an all-static class with several global fields. It looks like it's only used in VM_HeapWalkOperation, and can probably be refactored to be local to this, and only be allocated on-demand. This would also solve the current cleanup-problem that this class suffers: after its use in the heap-walk, its state does not get cleaned up, and thus has dangling pointers and such.

            Assignee:
            Roman Kennke
            Reporter:
            Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: