8333486: Parallel: Remove unused methods in psParallelCompact
Reviewed-by: tschatzl
This commit is contained in:
parent
664c993c41
commit
4a1cdd5ba9
@ -280,21 +280,6 @@ PSParallelCompact::print_generic_summary_data(ParallelCompactData& summary_data,
|
|||||||
::print_generic_summary_data(summary_data,beg_addr, end_addr);
|
::print_generic_summary_data(summary_data,beg_addr, end_addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
print_generic_summary_data(ParallelCompactData& summary_data,
|
|
||||||
SpaceInfo* space_info)
|
|
||||||
{
|
|
||||||
if (!log_develop_is_enabled(Trace, gc, compaction)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (unsigned int id = 0; id < PSParallelCompact::last_space_id; ++id) {
|
|
||||||
const MutableSpace* space = space_info[id].space();
|
|
||||||
print_generic_summary_data(summary_data, space->bottom(),
|
|
||||||
MAX2(space->top(), space_info[id].new_top()));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
print_initial_summary_data(ParallelCompactData& summary_data,
|
print_initial_summary_data(ParallelCompactData& summary_data,
|
||||||
const MutableSpace* space) {
|
const MutableSpace* space) {
|
||||||
|
@ -190,8 +190,6 @@ class SpaceInfo
|
|||||||
void set_dense_prefix(HeapWord* addr) { _dense_prefix = addr; }
|
void set_dense_prefix(HeapWord* addr) { _dense_prefix = addr; }
|
||||||
void set_start_array(ObjectStartArray* s) { _start_array = s; }
|
void set_start_array(ObjectStartArray* s) { _start_array = s; }
|
||||||
|
|
||||||
void publish_new_top() const { _space->set_top(_new_top); }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MutableSpace* _space;
|
MutableSpace* _space;
|
||||||
HeapWord* _new_top;
|
HeapWord* _new_top;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user