8324147: Serial: Remove generation::compute_new_size
Reviewed-by: ehelin
This commit is contained in:
parent
5f7141982c
commit
0081d8c07f
src/hotspot/share/gc/serial
@ -250,7 +250,7 @@ class DefNewGeneration: public Generation {
|
||||
void reset_scratch();
|
||||
|
||||
// GC support
|
||||
virtual void compute_new_size();
|
||||
void compute_new_size();
|
||||
|
||||
// Returns true if the collection is likely to be safely
|
||||
// completed. Even if this method returns true, a collection
|
||||
|
@ -248,11 +248,6 @@ class Generation: public CHeapObj<mtGC> {
|
||||
// generation since the last call to "save_marks".
|
||||
virtual bool no_allocs_since_save_marks() = 0;
|
||||
|
||||
// When an older generation has been collected, and perhaps resized,
|
||||
// this method will be invoked on all younger generations (from older to
|
||||
// younger), allowing them to resize themselves as appropriate.
|
||||
virtual void compute_new_size() = 0;
|
||||
|
||||
// Printing
|
||||
virtual const char* name() const = 0;
|
||||
virtual const char* short_name() const = 0;
|
||||
|
@ -81,7 +81,7 @@ class TenuredGeneration: public Generation {
|
||||
|
||||
void compute_new_size_inner();
|
||||
public:
|
||||
virtual void compute_new_size();
|
||||
void compute_new_size();
|
||||
|
||||
TenuredSpace* space() const { return _the_space; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user