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

new clone logic added in 8042235 is missing from compiler intrinsics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • hotspot
    • b105

    Description

      8042235 add some special case logic in JVM_Clone but the intrinsic for clone in C2 doesn't appear to have been updated and there doesn't appear to be any gating logic keeping the clone from being intrinsified. It's not obvious to me how to trigger MemberName.clone() though it's used pretty commonly in the method handle API. Some generic mechanism to disable intrinsification of clone for that type is probably the best fix. Disabling clone for types with injected fields would work though that's a somewhat indirect solution.

      Attachments

        Issue Links

          Activity

            People

              vlivanov Vladimir Ivanov
              never Tom Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: