src/hotspot/cpu/x86/gc/z/zGlobals_x86.cpp
changeset 58294 872465abbfe3
parent 57962 4b436b5d1630
child 58453 ca80b8395923
equal deleted inserted replaced
58293:f2bd6a3993a7 58294:872465abbfe3
   133 //  |                                                  1000 = Finalizable  (Address view N/A)
   133 //  |                                                  1000 = Finalizable  (Address view N/A)
   134 //  |
   134 //  |
   135 //  * 63-48 Fixed (16-bits, always zero)
   135 //  * 63-48 Fixed (16-bits, always zero)
   136 //
   136 //
   137 
   137 
   138 uintptr_t ZPlatformAddressSpaceStart() {
       
   139   const uintptr_t first_heap_view_address = (uintptr_t)1 << (ZPlatformAddressMetadataShift() + 0);
       
   140   const size_t min_address_offset = 0;
       
   141   return first_heap_view_address + min_address_offset;
       
   142 }
       
   143 
       
   144 uintptr_t ZPlatformAddressSpaceEnd() {
       
   145   const uintptr_t last_heap_view_address = (uintptr_t)1 << (ZPlatformAddressMetadataShift() + 2);
       
   146   const size_t max_address_offset = (size_t)1 << ZPlatformAddressOffsetBits();
       
   147   return last_heap_view_address + max_address_offset;
       
   148 }
       
   149 
       
   150 uintptr_t ZPlatformAddressReservedStart() {
       
   151   return ZPlatformAddressSpaceStart();
       
   152 }
       
   153 
       
   154 uintptr_t ZPlatformAddressReservedEnd() {
       
   155   return ZPlatformAddressSpaceEnd();
       
   156 }
       
   157 
       
   158 uintptr_t ZPlatformAddressBase() {
   138 uintptr_t ZPlatformAddressBase() {
   159   return 0;
   139   return 0;
   160 }
   140 }
   161 
   141 
   162 size_t ZPlatformAddressOffsetBits() {
   142 size_t ZPlatformAddressOffsetBits() {