diff src/share/vm/memory/collectorPolicy.cpp @ 14306:284953caf7aa

8031776: Remove the unnecessary enum GenRemSet::Name Reviewed-by: stefank, tschatzl, jwilhelm
author ehelin
date Mon, 20 Jan 2014 17:15:55 +0100
parents 236cecd9ec97
children 63a4eb8bcd23
line wrap: on
line diff
--- a/src/share/vm/memory/collectorPolicy.cpp	Mon Jan 20 11:47:53 2014 +0100
+++ b/src/share/vm/memory/collectorPolicy.cpp	Mon Jan 20 17:15:55 2014 +0100
@@ -178,10 +178,7 @@
   // byte entry and the os page size is 4096, the maximum heap size should
   // be 512*4096 = 2MB aligned.
 
-  // There is only the GenRemSet in Hotspot and only the GenRemSet::CardTable
-  // is supported.
-  // Requirements of any new remembered set implementations must be added here.
-  size_t alignment = GenRemSet::max_alignment_constraint(GenRemSet::CardTable);
+  size_t alignment = GenRemSet::max_alignment_constraint();
 
   // Parallel GC does its own alignment of the generations to avoid requiring a
   // large page (256M on some platforms) for the permanent generation.  The