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

optimize inline_native_clone() for small objects with exact klass.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • hs14
    • hotspot
    • None
    • b47
    • x86
    • solaris_10

    Backports

      Description

        Currently C2 generares call to the arraycopy stub for all objects
        even for one with no non-static fields in inline_native_clone().
        It also prevents EA optimization for a new object.
        Generate fields/elements copies (load -> store) for small objects
        with exact klass (number and type of fields are known).

        Attachments

          Issue Links

            Activity

              People

                roland Roland Westrelin
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: