Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
14305:c685ef164975 | 14306:284953caf7aa |
---|---|
176 // committed in os pages as well. Make sure they are entirely full (to | 176 // committed in os pages as well. Make sure they are entirely full (to |
177 // avoid partial page problems), e.g. if 512 bytes heap corresponds to 1 | 177 // avoid partial page problems), e.g. if 512 bytes heap corresponds to 1 |
178 // byte entry and the os page size is 4096, the maximum heap size should | 178 // byte entry and the os page size is 4096, the maximum heap size should |
179 // be 512*4096 = 2MB aligned. | 179 // be 512*4096 = 2MB aligned. |
180 | 180 |
181 // There is only the GenRemSet in Hotspot and only the GenRemSet::CardTable | 181 size_t alignment = GenRemSet::max_alignment_constraint(); |
182 // is supported. | |
183 // Requirements of any new remembered set implementations must be added here. | |
184 size_t alignment = GenRemSet::max_alignment_constraint(GenRemSet::CardTable); | |
185 | 182 |
186 // Parallel GC does its own alignment of the generations to avoid requiring a | 183 // Parallel GC does its own alignment of the generations to avoid requiring a |
187 // large page (256M on some platforms) for the permanent generation. The | 184 // large page (256M on some platforms) for the permanent generation. The |
188 // other collectors should also be updated to do their own alignment and then | 185 // other collectors should also be updated to do their own alignment and then |
189 // this use of lcm() should be removed. | 186 // this use of lcm() should be removed. |