optimize inline_native_clone() for small objects with exact klass.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: hs14
    • Component/s: 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).

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: