6635560: segv in reference processor on t1000
authorjcoomes
Thu, 06 Dec 2007 13:59:28 -0800
changeset 194 8cdd3d9a4c99
parent 193 171c404abf72
child 195 9193828514c4
6635560: segv in reference processor on t1000 Summary: Revert back to using the default page size for the card table Reviewed-by: pbk, phh
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;