RFR: 8275241: Unused ArrayList is created in RequestEngine.addHooks
Erik Gahlin
egahlin at openjdk.java.net
Wed Oct 13 22:07:48 UTC 2021
On Wed, 22 Sep 2021 07:48:10 GMT, Andrey Turbanov <duke at openjdk.java.net> wrote:
> Local `ArrayList<RequestHook>` is created in a method `RequestEngine.addHooks`. Elements are added to it, but then content is unused. Seems leftovers from some refactoring.
> Found by IntelliJ IDEA inspection "Mismatched query and update of collection"
Marked as reviewed by egahlin (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/5629
More information about the hotspot-jfr-dev
mailing list