diff src/share/vm/graal/graalCompiler.cpp @ 9934:0f7ca53be929

CR-806: Changes to build Graal for SPARC
author Morris Meyer <morris.meyer@oracle.com>
date Fri, 07 Jun 2013 15:43:00 -0400
parents 35f93560b1f0
children a323a9e20f9d
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp	Fri Jun 07 16:10:07 2013 +0200
+++ b/src/share/vm/graal/graalCompiler.cpp	Fri Jun 07 15:43:00 2013 -0400
@@ -51,7 +51,7 @@
 
   uintptr_t heap_end = (uintptr_t) Universe::heap()->reserved_region().end();
   uintptr_t allocation_end = heap_end + ((uintptr_t)16) * 1024 * 1024 * 1024;
-  guarantee(heap_end < allocation_end, "heap end too close to end of address space (might lead to erroneous TLAB allocations)");
+  AMD64_ONLY(guarantee(heap_end < allocation_end, "heap end too close to end of address space (might lead to erroneous TLAB allocations)"));
   NOT_LP64(error("check TLAB allocation code for address space conflicts"));
 
   _deopted_leaf_graph_count = 0;