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

Unsafe.getAndSetObject() is no longer intrinsified by c2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b81

        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;
           }

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

                Created:
                Updated:
                Resolved: