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

Unsafe.getAndSetObject() is no longer intrinsified by c2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • None
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: