File tree Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -143,12 +143,6 @@ void TenuredGeneration::shrink(size_t bytes) {
143143 name (), old_mem_size/K, new_mem_size/K);
144144}
145145
146- // Objects in this generation may have moved, invalidate this
147- // generation's cards.
148- void TenuredGeneration::invalidate_remembered_set () {
149- _rs->invalidate (used_region ());
150- }
151-
152146void TenuredGeneration::compute_new_size_inner () {
153147 assert (_shrink_factor <= 100 , " invalid shrink factor" );
154148 size_t current_shrink_factor = _shrink_factor;
Original file line number Diff line number Diff line change @@ -85,8 +85,6 @@ class TenuredGeneration: public Generation {
8585 public:
8686 virtual void compute_new_size ();
8787
88- virtual void invalidate_remembered_set ();
89-
9088 // Grow generation with specified size (returns false if unable to grow)
9189 bool grow_by (size_t bytes);
9290 // Grow generation to reserved size.
Original file line number Diff line number Diff line change @@ -326,10 +326,6 @@ class Generation: public CHeapObj<mtGC> {
326326 // each.
327327 virtual void object_iterate (ObjectClosure* cl);
328328
329- // Inform a generation that some of its objects have moved. [e.g. The
330- // generation's spaces were compacted, invalidating the card table.]
331- virtual void invalidate_remembered_set () { }
332-
333329 // Block abstraction.
334330
335331 // Returns the address of the start of the "block" that contains the
You can’t perform that action at this time.
0 commit comments