< prev index next >

src/hotspot/share/prims/unsafe.cpp

Print this page
*** 66,11 ***
   * Implementation of the jdk.internal.misc.Unsafe class
   */
  
  
  #define MAX_OBJECT_SIZE \
!   ( arrayOopDesc::header_size(T_DOUBLE) * HeapWordSize \
      + ((julong)max_jint * sizeof(double)) )
  
  
  #define UNSAFE_ENTRY(result_type, header) \
    JVM_ENTRY(static result_type, header)
--- 66,11 ---
   * Implementation of the jdk.internal.misc.Unsafe class
   */
  
  
  #define MAX_OBJECT_SIZE \
!   ( 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 >