Use memset() in method CardTable::dirty_MemRegion()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 23
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc
    • b17

      The method `CardTable::dirty_MemRegion` uses a loop to set the values of the card table. It is good to use `memset` to simplify the code.

      But I don't know whether it can improve the performance. It may depends on OSs and compilers.

            Assignee:
            Guoxiong Li
            Reporter:
            Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: