# HG changeset patch # User jcoomes # Date 1196978368 28800 # Node ID 8cdd3d9a4c9948eb54bb2acbc4ec130c55089567 # Parent 171c404abf7258be1e771e34aa312d06c84b3b12 6635560: segv in reference processor on t1000 Summary: Revert back to using the default page size for the card table Reviewed-by: pbk, phh diff -r 171c404abf72 -r 8cdd3d9a4c99 hotspot/src/share/vm/memory/cardTableModRefBS.cpp --- 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;