< prev index next >

src/hotspot/share/prims/unsafe.cpp

Print this page
@@ -64,11 +64,11 @@
   * Implementation of the jdk.internal.misc.Unsafe class
   */
  
  
  #define MAX_OBJECT_SIZE \
-   ( arrayOopDesc::header_size(T_DOUBLE) * HeapWordSize \
+   ( arrayOopDesc::base_offset_in_bytes(T_DOUBLE) \
      + ((julong)max_jint * sizeof(double)) )
  
  
  #define UNSAFE_ENTRY(result_type, header) \
    JVM_ENTRY(static result_type, header)
< prev index next >