hotspot/src/share/vm/oops/objArrayOop.hpp
changeset 25325 e3af4e02b0d5
parent 13963 e5b53c306fb5
child 27427 5c3f72c4c703
--- a/hotspot/src/share/vm/oops/objArrayOop.hpp	Wed Jun 18 14:21:28 2014 -0700
+++ b/hotspot/src/share/vm/oops/objArrayOop.hpp	Thu Jun 19 11:16:10 2014 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -95,6 +95,9 @@
       oop_store(obj_at_addr<oop>(index), value);
     }
   }
+
+  oop atomic_compare_exchange_oop(int index, oop exchange_value, oop compare_value);
+
   // Sizing
   static int header_size()    { return arrayOopDesc::header_size(T_OBJECT); }
   int object_size()           { return object_size(length()); }