8325563: Remove unused Space::is_in

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2024-02-09 16:33:41 +00:00
parent 29d89d48cb
commit 40708baf7a

View File

@ -117,9 +117,6 @@ class Space: public CHeapObj<mtGC> {
bool is_in(const void* p) const {
return used_region().contains(p);
}
bool is_in(oop obj) const {
return is_in((void*)obj);
}
// Returns true iff the given reserved memory of the space contains the
// given address.