mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8026851: Remove unnecessary code in GenRemSet
Removed the GenRemSet::rem_set_name() since we only have one remset. Reviewed-by: stefank, mgerdin, tschatzl
This commit is contained in:
parent
f12f991935
commit
1123a5596c
4 changed files with 1 additions and 6 deletions
|
@ -151,7 +151,6 @@ class CollectorPolicy : public CHeapObj<mtGC> {
|
|||
|
||||
|
||||
virtual BarrierSet::Name barrier_set_name() = 0;
|
||||
virtual GenRemSet::Name rem_set_name() = 0;
|
||||
|
||||
// Create the remembered set (to cover the given reserved region,
|
||||
// allowing breaking up into at most "max_covered_regions").
|
||||
|
@ -303,7 +302,6 @@ class TwoGenerationCollectorPolicy : public GenCollectorPolicy {
|
|||
|
||||
int number_of_generations() { return 2; }
|
||||
BarrierSet::Name barrier_set_name() { return BarrierSet::CardTableModRef; }
|
||||
GenRemSet::Name rem_set_name() { return GenRemSet::CardTable; }
|
||||
|
||||
virtual CollectorPolicy::Name kind() {
|
||||
return CollectorPolicy::TwoGenerationCollectorPolicyKind;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue