< prev index next >

src/share/vm/oops/objArrayOop.hpp

Print this page
rev 9803 : 8146401: Clean up oop.hpp: add inline directives and fix header files

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2016, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -79,17 +79,11 @@
   HeapWord* base() const      { return (HeapWord*) arrayOopDesc::base(T_OBJECT); }
 
   // Accessing
   oop obj_at(int index) const;
 
-  void obj_at_put(int index, oop value) {
-    if (UseCompressedOops) {
-      oop_store(obj_at_addr<narrowOop>(index), value);
-    } else {
-      oop_store(obj_at_addr<oop>(index), value);
-    }
-  }
+  void /*inline*/ obj_at_put(int index, oop 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); }
< prev index next >