mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8055816: Remove dead code in g1BlockOffsetTable
Reviewed-by: tschatzl, mgerdin
This commit is contained in:
parent
9086b5795f
commit
bbe82cb85b
5 changed files with 13 additions and 374 deletions
|
@ -206,10 +206,6 @@ class G1OffsetTableContigSpace: public CompactibleSpace {
|
|||
_offsets.reset_bot();
|
||||
}
|
||||
|
||||
void update_bot_for_object(HeapWord* start, size_t word_size) {
|
||||
_offsets.alloc_block(start, word_size);
|
||||
}
|
||||
|
||||
void print_bot_on(outputStream* out) {
|
||||
_offsets.print_on(out);
|
||||
}
|
||||
|
@ -737,18 +733,6 @@ class HeapRegion: public G1OffsetTableContigSpace {
|
|||
bool filter_young,
|
||||
jbyte* card_ptr);
|
||||
|
||||
// A version of block start that is guaranteed to find *some* block
|
||||
// boundary at or before "p", but does not object iteration, and may
|
||||
// therefore be used safely when the heap is unparseable.
|
||||
HeapWord* block_start_careful(const void* p) const {
|
||||
return _offsets.block_start_careful(p);
|
||||
}
|
||||
|
||||
// Requires that "addr" is within the region. Returns the start of the
|
||||
// first ("careful") block that starts at or after "addr", or else the
|
||||
// "end" of the region if there is no such block.
|
||||
HeapWord* next_block_start_careful(HeapWord* addr);
|
||||
|
||||
size_t recorded_rs_length() const { return _recorded_rs_length; }
|
||||
double predicted_elapsed_time_ms() const { return _predicted_elapsed_time_ms; }
|
||||
size_t predicted_bytes_to_copy() const { return _predicted_bytes_to_copy; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue