JfrSet::clear should not use memset

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: hotspot
    • None
    • jfr
    • b06

      JDK-8374445 changed JfrSet to use value-initialization of the element type for initialization and for testing for elements having been added. But the clear function was missed in that change, and is still using memset to reinitialize the storage.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: