Skip to content

Commit fd2641e

Browse files
committedJan 27, 2021
8260236: better init AnnotationCollector _contended_group
Reviewed-by: coleenp, shade
1 parent 1c77046 commit fd2641e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/hotspot/share/classfile/classFileParser.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -1101,7 +1101,7 @@ class AnnotationCollector : public ResourceObj{
11011101
u2 _contended_group;
11021102

11031103
AnnotationCollector(Location location)
1104-
: _location(location), _annotations_present(0)
1104+
: _location(location), _annotations_present(0), _contended_group(0)
11051105
{
11061106
assert((int)_annotation_LIMIT <= (int)sizeof(_annotations_present) * BitsPerByte, "");
11071107
}

0 commit comments

Comments
 (0)
Please sign in to comment.