8331050: Serial: Remove unused _saved_mark_word in DefNewGeneration and TenuredGeneration

Reviewed-by: gli, tschatzl
This commit is contained in:
Albert Mingkun Yang 2024-04-25 09:49:10 +00:00
parent b1b953c427
commit c9f8d0eff7
2 changed files with 0 additions and 5 deletions

View File

@ -139,9 +139,6 @@ class DefNewGeneration: public Generation {
ContiguousSpace* _from_space;
ContiguousSpace* _to_space;
// Saved mark word, for to-space
HeapWord* _saved_mark_word;
STWGCTimer* _gc_timer;
DefNewTracer* _gc_tracer;

View File

@ -66,7 +66,6 @@ class TenuredGeneration: public Generation {
void assert_correct_size_change_locking();
ContiguousSpace* _the_space; // Actual space holding objects
HeapWord* _saved_mark_word;
GenerationCounters* _gen_counters;
CSpaceCounters* _space_counters;
@ -89,7 +88,6 @@ public:
void compute_new_size();
ContiguousSpace* space() const { return _the_space; }
HeapWord* saved_mark_word() const { return _saved_mark_word; }
// Grow generation with specified size (returns false if unable to grow)
bool grow_by(size_t bytes);