< prev index next >

src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.hpp

Print this page
rev 59178 : imported patch zcacheline-fixes-aarch64.patch


  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 #ifndef CPU_AARCH64_GC_Z_ZGLOBALS_AARCH64_HPP
  25 #define CPU_AARCH64_GC_Z_ZGLOBALS_AARCH64_HPP
  26 
  27 const size_t ZPlatformGranuleSizeShift      = 21; // 2MB
  28 const size_t ZPlatformHeapViews             = 3;
  29 const size_t ZPlatformNMethodDisarmedOffset = 4;
  30 const size_t ZPlatformCacheLineSize         = 64;
  31 
  32 size_t ZPlatformAddressOffsetBits();
  33 size_t ZPlatformAddressMetadataShift();
  34 
  35 #endif // CPU_AARCH64_GC_Z_ZGLOBALS_AARCH64_HPP


  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 #ifndef CPU_AARCH64_GC_Z_ZGLOBALS_AARCH64_HPP
  25 #define CPU_AARCH64_GC_Z_ZGLOBALS_AARCH64_HPP
  26 
  27 const size_t ZPlatformGranuleSizeShift      = 21; // 2MB
  28 const size_t ZPlatformHeapViews             = 3;
  29 const size_t ZPlatformNMethodDisarmedOffset = 4;
  30 #define ZPlatformCacheLineSize (size_t(64))
  31 
  32 size_t ZPlatformAddressOffsetBits();
  33 size_t ZPlatformAddressMetadataShift();
  34 
  35 #endif // CPU_AARCH64_GC_Z_ZGLOBALS_AARCH64_HPP
< prev index next >