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

optimize inline_native_clone() for small objects with exact klass.

XMLWordPrintable

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

        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).

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: