Wed, 08 Nov 2017 10:07:02 +0800
#6283 Fix the Eclipse startup failure (Could not reserve enough space for the card marking array).
http://10.2.5.21:8000/issues/6283
src/share/vm/memory/cardTableModRefBS.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/memory/cardTableModRefBS.cpp Wed Nov 08 09:28:23 2017 +0800 1.2 +++ b/src/share/vm/memory/cardTableModRefBS.cpp Wed Nov 08 10:07:02 2017 +0800 1.3 @@ -109,13 +109,8 @@ 1.4 1.5 const size_t rs_align = _page_size == (size_t) os::vm_page_size() ? 0 : 1.6 MAX2(_page_size, (size_t) os::vm_allocation_granularity()); 1.7 -#ifdef MIPS64 1.8 - /* 2013/10.25 Jin: try to allocate byte_map_base within 32-bit region. 1.9 - FIXME: should automatically search a spare space. */ 1.10 - ReservedSpace heap_rs(_byte_map_size, rs_align, false, (char *)0x20000000); 1.11 -#else 1.12 ReservedSpace heap_rs(_byte_map_size, rs_align, false); 1.13 -#endif 1.14 + 1.15 MemTracker::record_virtual_memory_type((address)heap_rs.base(), mtGC); 1.16 1.17 os::trace_page_sizes("card table", _guard_index + 1, _guard_index + 1,