8293028: Remove GenCollectedHeap::handle_failed_promotion
Reviewed-by: kbarrett
This commit is contained in:
parent
21a736954f
commit
6b7d4b1f74
@ -384,15 +384,6 @@ public:
|
||||
_incremental_collection_failed = false;
|
||||
}
|
||||
|
||||
// Promotion of obj into gen failed. Try to promote obj to higher
|
||||
// gens in ascending order; return the new location of obj if successful.
|
||||
// Otherwise, try expand-and-allocate for obj in both the young and old
|
||||
// generation; return the new location of obj if successful. Otherwise, return NULL.
|
||||
oop handle_failed_promotion(Generation* old_gen,
|
||||
oop obj,
|
||||
size_t obj_size);
|
||||
|
||||
|
||||
private:
|
||||
// Return true if an allocation should be attempted in the older generation
|
||||
// if it fails in the younger generation. Return false, otherwise.
|
||||
|
Loading…
x
Reference in New Issue
Block a user