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

ZapStackSegments should use optimized memset

    XMLWordPrintable

Details

    • b21

    Backports

      Description

        fastdebug builds performance is important to minimize testing time. ZapStackSegments is trueInDebug, and used to zap vm/utilities/stack.* segments as they get recycled. However, that zapping uses the handrolled memset, which shows up in profiles with individual stores. It seems better to use Copy::fill_to_bytes for this, which will call into platform-specific memset. Additionally, this would be a good time to introduce its zapped pattern to globalDefinitions.

        Webrev:
         http://cr.openjdk.java.net/~shade/8184762/webrev.01/

        Attachments

          Issue Links

            Activity

              People

                shade Aleksey Shipilev
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: