pan3793 commented on PR #8953:
URL: https://github.com/apache/hadoop/pull/8953#issuecomment-6733335693

   Reviewed and LGTM. The `equals()` fix is correct, and I checked all six 
`TestDefaultOOMHandler` corrections against `DefaultOOMHandler`'s candidate 
ordering: the new `(pid, container)` pairs match the containers the handler 
actually selects.
   
   One optional suggestion:
   
   1. Consider adding an identity short-circuit to `equals()`: `if (this == 
obj) { return true; }` is cheap and common across the codebase, though 
`Objects.equals` on the fields already makes it correct without it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to