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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 23
    • 23
    • 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.

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

              Created:
              Updated:
              Resolved: