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

optimize inline_native_clone() for small objects with exact klass.

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs14
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b47
    • CPU:
      x86
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: