6635560: segv in reference processor on t1000
Summary: Revert back to using the default page size for the card table
Reviewed-by: pbk, phh
--- a/hotspot/src/share/vm/memory/cardTableModRefBS.cpp Wed Dec 05 09:04:00 2007 -0800
+++ b/hotspot/src/share/vm/memory/cardTableModRefBS.cpp Thu Dec 06 13:59:28 2007 -0800
@@ -51,7 +51,7 @@
_whole_heap(whole_heap),
_guard_index(cards_required(whole_heap.word_size()) - 1),
_last_valid_index(_guard_index - 1),
- _page_size(os::page_size_for_region(_guard_index + 1, _guard_index + 1, 1)),
+ _page_size(os::vm_page_size()),
_byte_map_size(compute_byte_map_size())
{
_kind = BarrierSet::CardTableModRef;