Skip to content

Commit 40708ba

Browse files
committedFeb 9, 2024
8325563: Remove unused Space::is_in
Reviewed-by: tschatzl
1 parent 29d89d4 commit 40708ba

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎src/hotspot/share/gc/shared/space.hpp

-3
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ class Space: public CHeapObj<mtGC> {
117117
bool is_in(const void* p) const {
118118
return used_region().contains(p);
119119
}
120-
bool is_in(oop obj) const {
121-
return is_in((void*)obj);
122-
}
123120

124121
// Returns true iff the given reserved memory of the space contains the
125122
// given address.

0 commit comments

Comments
 (0)
Please sign in to comment.