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

Unsafe.getAndSetObject() is no longer intrinsified by c2

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b81

      Backports

        Description

        diff --git a/src/share/vm/opto/c2compiler.cpp b/src/share/vm/opto/c2compiler.cpp
        --- a/src/share/vm/opto/c2compiler.cpp
        +++ b/src/share/vm/opto/c2compiler.cpp
        @@ -169,7 +169,7 @@
           vmIntrinsics::ID id = method->intrinsic_id();
           assert(id != vmIntrinsics::_none, "must be a VM intrinsic");

        - if (id < vmIntrinsics::FIRST_ID || id >= vmIntrinsics::LAST_COMPILER_INLINE) {
        + if (id < vmIntrinsics::FIRST_ID || id > vmIntrinsics::LAST_COMPILER_INLINE) {
             return false;
           }

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  roland Roland Westrelin
                  Reporter:
                  roland Roland Westrelin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: