8286088: add comment to InstallAsyncExceptionHandshake destructor

Reviewed-by: dholmes
This commit is contained in:
Daniel D. Daugherty 2022-05-03 21:26:53 +00:00
parent f82dd76614
commit efcd3d3a8f

View File

@ -1671,6 +1671,7 @@ public:
InstallAsyncExceptionHandshake(AsyncExceptionHandshake* aeh) :
HandshakeClosure("InstallAsyncException"), _aeh(aeh) {}
~InstallAsyncExceptionHandshake() {
// If InstallAsyncExceptionHandshake was never executed we need to clean up _aeh.
delete _aeh;
}
void do_thread(Thread* thr) {