8076231: Remove unused is_in_partial_collection()

Reviewed-by: brutisso, drwhite
This commit is contained in:
Per Lidén 2015-03-31 08:27:30 +02:00
parent 062cf882e0
commit ff23a17283
7 changed files with 3 additions and 47 deletions

View file

@ -291,12 +291,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
return p == NULL || is_in_closed_subset(p);
}
#ifdef ASSERT
// Returns true if "p" is in the part of the
// heap being collected.
virtual bool is_in_partial_collection(const void *p) = 0;
#endif
// An object is scavengable if its location may move during a scavenge.
// (A scavenge is a GC which is not a full GC.)
virtual bool is_scavengable(const void *p) = 0;