RFR: JDK-8260236: better init AnnotationCollector _contended_group

Coleen Phillimore coleenp at openjdk.java.net
Tue Jan 26 11:51:41 UTC 2021


On Tue, 26 Jan 2021 08:51:23 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The class AnnotationCollector misses to initialize _contended_group in the constructor, that should be adjusted.
> 
> See also the related sonar warning ( 1 uninitialized field at the end of the constructor call):
> https://sonarcloud.io/project/issues?id=jdk&open=AXaE0c1g8L9hkQskF8qX&resolved=false&types=BUG
> 
> Thanks, Matthias

Looks good + trivial.  Thank you for fixing these!

-------------

Marked as reviewed by coleenp (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2231


More information about the hotspot-runtime-dev mailing list