diff -r 966a1acb1243 -r 906b3d079b13 hotspot/src/share/vm/gc/shared/collectorPolicy.cpp --- a/hotspot/src/share/vm/gc/shared/collectorPolicy.cpp Thu Oct 15 00:42:15 2015 +0000 +++ b/hotspot/src/share/vm/gc/shared/collectorPolicy.cpp Wed Oct 14 09:33:45 2015 +0200 @@ -152,7 +152,7 @@ return result; } -GenRemSet* CollectorPolicy::create_rem_set(MemRegion whole_heap) { +CardTableRS* CollectorPolicy::create_rem_set(MemRegion whole_heap) { return new CardTableRS(whole_heap); } @@ -173,7 +173,7 @@ // byte entry and the os page size is 4096, the maximum heap size should // be 512*4096 = 2MB aligned. - size_t alignment = GenRemSet::max_alignment_constraint(); + size_t alignment = CardTableRS::ct_max_alignment_constraint(); if (UseLargePages) { // In presence of large pages we have to make sure that our