Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
9933:78a1232be418 | 9934:0f7ca53be929 |
---|---|
49 JavaThread* THREAD = JavaThread::current(); | 49 JavaThread* THREAD = JavaThread::current(); |
50 TRACE_graal_1("GraalCompiler::initialize"); | 50 TRACE_graal_1("GraalCompiler::initialize"); |
51 | 51 |
52 uintptr_t heap_end = (uintptr_t) Universe::heap()->reserved_region().end(); | 52 uintptr_t heap_end = (uintptr_t) Universe::heap()->reserved_region().end(); |
53 uintptr_t allocation_end = heap_end + ((uintptr_t)16) * 1024 * 1024 * 1024; | 53 uintptr_t allocation_end = heap_end + ((uintptr_t)16) * 1024 * 1024 * 1024; |
54 guarantee(heap_end < allocation_end, "heap end too close to end of address space (might lead to erroneous TLAB allocations)"); | 54 AMD64_ONLY(guarantee(heap_end < allocation_end, "heap end too close to end of address space (might lead to erroneous TLAB allocations)")); |
55 NOT_LP64(error("check TLAB allocation code for address space conflicts")); | 55 NOT_LP64(error("check TLAB allocation code for address space conflicts")); |
56 | 56 |
57 _deopted_leaf_graph_count = 0; | 57 _deopted_leaf_graph_count = 0; |
58 | 58 |
59 initialize_buffer_blob(); | 59 initialize_buffer_blob(); |