< prev index next >

src/share/vm/classfile/vmSymbols.cpp

Print this page
rev 12711 : 8181292: Backport Rename internal Unsafe.compare methods from 10 to 9
Reviewed-by: psandoz, dholmes, thartmann
Contributed-by: ron.pressler@oracle.com, claes.redestad@oracle.com
   1 /*
   2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 615   case vmIntrinsics::_getLongOpaque:
 616   case vmIntrinsics::_getFloatOpaque:
 617   case vmIntrinsics::_getDoubleOpaque:
 618   case vmIntrinsics::_putObjectOpaque:
 619   case vmIntrinsics::_putBooleanOpaque:
 620   case vmIntrinsics::_putByteOpaque:
 621   case vmIntrinsics::_putShortOpaque:
 622   case vmIntrinsics::_putCharOpaque:
 623   case vmIntrinsics::_putIntOpaque:
 624   case vmIntrinsics::_putLongOpaque:
 625   case vmIntrinsics::_putFloatOpaque:
 626   case vmIntrinsics::_putDoubleOpaque:
 627   case vmIntrinsics::_getAndAddInt:
 628   case vmIntrinsics::_getAndAddLong:
 629   case vmIntrinsics::_getAndSetInt:
 630   case vmIntrinsics::_getAndSetLong:
 631   case vmIntrinsics::_getAndSetObject:
 632   case vmIntrinsics::_loadFence:
 633   case vmIntrinsics::_storeFence:
 634   case vmIntrinsics::_fullFence:
 635   case vmIntrinsics::_compareAndSwapLong:
 636   case vmIntrinsics::_weakCompareAndSwapLong:
 637   case vmIntrinsics::_weakCompareAndSwapLongAcquire:
 638   case vmIntrinsics::_weakCompareAndSwapLongRelease:
 639   case vmIntrinsics::_compareAndSwapInt:
 640   case vmIntrinsics::_weakCompareAndSwapInt:
 641   case vmIntrinsics::_weakCompareAndSwapIntAcquire:
 642   case vmIntrinsics::_weakCompareAndSwapIntRelease:
 643   case vmIntrinsics::_compareAndSwapObject:
 644   case vmIntrinsics::_weakCompareAndSwapObject:
 645   case vmIntrinsics::_weakCompareAndSwapObjectAcquire:
 646   case vmIntrinsics::_weakCompareAndSwapObjectRelease:
 647   case vmIntrinsics::_compareAndExchangeIntVolatile:



 648   case vmIntrinsics::_compareAndExchangeIntAcquire:
 649   case vmIntrinsics::_compareAndExchangeIntRelease:
 650   case vmIntrinsics::_compareAndExchangeLongVolatile:
 651   case vmIntrinsics::_compareAndExchangeLongAcquire:
 652   case vmIntrinsics::_compareAndExchangeLongRelease:
 653   case vmIntrinsics::_compareAndExchangeObjectVolatile:
 654   case vmIntrinsics::_compareAndExchangeObjectAcquire:
 655   case vmIntrinsics::_compareAndExchangeObjectRelease:
 656     if (!InlineUnsafeOps) return true;
 657     break;
 658   case vmIntrinsics::_getShortUnaligned:
 659   case vmIntrinsics::_getCharUnaligned:
 660   case vmIntrinsics::_getIntUnaligned:
 661   case vmIntrinsics::_getLongUnaligned:
 662   case vmIntrinsics::_putShortUnaligned:
 663   case vmIntrinsics::_putCharUnaligned:
 664   case vmIntrinsics::_putIntUnaligned:
 665   case vmIntrinsics::_putLongUnaligned:
 666   case vmIntrinsics::_allocateInstance:
 667     if (!InlineUnsafeOps || !UseUnalignedAccesses) return true;
 668     break;
 669   case vmIntrinsics::_hashCode:
 670     if (!InlineObjectHash) return true;
 671     break;
 672   case vmIntrinsics::_aescrypt_encryptBlock:
 673   case vmIntrinsics::_aescrypt_decryptBlock:


   1 /*
   2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 615   case vmIntrinsics::_getLongOpaque:
 616   case vmIntrinsics::_getFloatOpaque:
 617   case vmIntrinsics::_getDoubleOpaque:
 618   case vmIntrinsics::_putObjectOpaque:
 619   case vmIntrinsics::_putBooleanOpaque:
 620   case vmIntrinsics::_putByteOpaque:
 621   case vmIntrinsics::_putShortOpaque:
 622   case vmIntrinsics::_putCharOpaque:
 623   case vmIntrinsics::_putIntOpaque:
 624   case vmIntrinsics::_putLongOpaque:
 625   case vmIntrinsics::_putFloatOpaque:
 626   case vmIntrinsics::_putDoubleOpaque:
 627   case vmIntrinsics::_getAndAddInt:
 628   case vmIntrinsics::_getAndAddLong:
 629   case vmIntrinsics::_getAndSetInt:
 630   case vmIntrinsics::_getAndSetLong:
 631   case vmIntrinsics::_getAndSetObject:
 632   case vmIntrinsics::_loadFence:
 633   case vmIntrinsics::_storeFence:
 634   case vmIntrinsics::_fullFence:
 635   case vmIntrinsics::_compareAndSetLong:
 636   case vmIntrinsics::_weakCompareAndSetLong:
 637   case vmIntrinsics::_weakCompareAndSetLongPlain:
 638   case vmIntrinsics::_weakCompareAndSetLongAcquire:
 639   case vmIntrinsics::_weakCompareAndSetLongRelease:
 640   case vmIntrinsics::_compareAndSetInt:
 641   case vmIntrinsics::_weakCompareAndSetInt:
 642   case vmIntrinsics::_weakCompareAndSetIntPlain:
 643   case vmIntrinsics::_weakCompareAndSetIntAcquire:
 644   case vmIntrinsics::_weakCompareAndSetIntRelease:
 645   case vmIntrinsics::_compareAndSetObject:
 646   case vmIntrinsics::_weakCompareAndSetObject:
 647   case vmIntrinsics::_weakCompareAndSetObjectPlain:
 648   case vmIntrinsics::_weakCompareAndSetObjectAcquire:
 649   case vmIntrinsics::_weakCompareAndSetObjectRelease:
 650   case vmIntrinsics::_compareAndExchangeInt:
 651   case vmIntrinsics::_compareAndExchangeIntAcquire:
 652   case vmIntrinsics::_compareAndExchangeIntRelease:
 653   case vmIntrinsics::_compareAndExchangeLong:
 654   case vmIntrinsics::_compareAndExchangeLongAcquire:
 655   case vmIntrinsics::_compareAndExchangeLongRelease:
 656   case vmIntrinsics::_compareAndExchangeObject:
 657   case vmIntrinsics::_compareAndExchangeObjectAcquire:
 658   case vmIntrinsics::_compareAndExchangeObjectRelease:
 659     if (!InlineUnsafeOps) return true;
 660     break;
 661   case vmIntrinsics::_getShortUnaligned:
 662   case vmIntrinsics::_getCharUnaligned:
 663   case vmIntrinsics::_getIntUnaligned:
 664   case vmIntrinsics::_getLongUnaligned:
 665   case vmIntrinsics::_putShortUnaligned:
 666   case vmIntrinsics::_putCharUnaligned:
 667   case vmIntrinsics::_putIntUnaligned:
 668   case vmIntrinsics::_putLongUnaligned:
 669   case vmIntrinsics::_allocateInstance:
 670     if (!InlineUnsafeOps || !UseUnalignedAccesses) return true;
 671     break;
 672   case vmIntrinsics::_hashCode:
 673     if (!InlineObjectHash) return true;
 674     break;
 675   case vmIntrinsics::_aescrypt_encryptBlock:
 676   case vmIntrinsics::_aescrypt_decryptBlock:


< prev index next >