8242040: Shenandoah: print allocation failure type

Reviewed-by: rkennke
This commit is contained in:
Aleksey Shipilev 2020-04-02 20:10:59 +02:00
parent 5532b27d22
commit 6570425dc4
4 changed files with 11 additions and 6 deletions

View file

@ -115,7 +115,7 @@ public:
// Handle allocation failure from normal allocation.
// Blocks until memory is available.
void handle_alloc_failure(size_t words);
void handle_alloc_failure(ShenandoahAllocRequest& req);
// Handle allocation failure from evacuation path.
// Optionally blocks while collector is handling the failure.