Skip to content

Commit

Permalink
8326575: Remove unused ContiguousSpace::set_top_for_allocations
Browse files Browse the repository at this point in the history
Reviewed-by: tschatzl, sjohanss
  • Loading branch information
albertnetymk committed Feb 26, 2024
1 parent 09f755a commit f32f574
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/hotspot/share/gc/shared/space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/shared/space.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ class ContiguousSpace: public CHeapObj<mtGC> {

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;

Expand Down

1 comment on commit f32f574

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.