changeset 11224:2073d966bcef

Merge
author shade
date Fri, 06 May 2016 14:44:09 +0000
parents cd3ca570f548 fcb21f5eac8e
children c9a66dff4f34 dfaa2566defa
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp	Fri May 06 09:10:47 2016 +0200
+++ b/src/share/vm/opto/library_call.cpp	Fri May 06 14:44:09 2016 +0000
@@ -2472,9 +2472,10 @@
   bool requires_atomic_access = false;
   switch (kind) {
       case Relaxed:
-      case Opaque:
           requires_atomic_access = AlwaysAtomicAccesses;
           break;
+      case Opaque:
+          // Opaque accesses are atomic.
       case Acquire:
       case Release:
       case Volatile: