8326575: Remove unused ContiguousSpace::set_top_for_allocations

Reviewed-by: tschatzl, sjohanss
This commit is contained in:
Albert Mingkun Yang 2024-02-26 09:36:48 +00:00
parent 09f755a64d
commit f32f574004
2 changed files with 0 additions and 5 deletions

View File

@ -77,9 +77,6 @@ void ContiguousSpace::clear(bool mangle_space) {
#ifndef PRODUCT
void ContiguousSpace::set_top_for_allocations(HeapWord* v) {
mangler()->set_top_for_allocations(v);
}
void ContiguousSpace::set_top_for_allocations() {
mangler()->set_top_for_allocations(top());
}

View File

@ -166,8 +166,6 @@ public:
bool saved_mark_at_top() const { return saved_mark_word() == top(); }
// Used to save the address in a space for later use during mangling.
void set_top_for_allocations(HeapWord* v) PRODUCT_RETURN;
// Used to save the space's current top for later use during mangling.
void set_top_for_allocations() PRODUCT_RETURN;