mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8260236: better init AnnotationCollector _contended_group
Reviewed-by: coleenp, shade
This commit is contained in:
parent
1c77046811
commit
fd2641ed36
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -1101,7 +1101,7 @@ public:
|
||||||
u2 _contended_group;
|
u2 _contended_group;
|
||||||
|
|
||||||
AnnotationCollector(Location location)
|
AnnotationCollector(Location location)
|
||||||
: _location(location), _annotations_present(0)
|
: _location(location), _annotations_present(0), _contended_group(0)
|
||||||
{
|
{
|
||||||
assert((int)_annotation_LIMIT <= (int)sizeof(_annotations_present) * BitsPerByte, "");
|
assert((int)_annotation_LIMIT <= (int)sizeof(_annotations_present) * BitsPerByte, "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue