[Geoserver-devel] [JIRA] (GEOS-7208) Report a possible race issue

baigd created an issue

GeoServer / BugGEOS-7208

Report a possible race issue

Issue Type:

BugBug

Assignee:

Unassigned

Created:

22/Sep/15 9:49 AM

Environment:

Hi, Developers of geoserver/geoserver,

I am writing to report a race issue on use of ConcurrentHashMap. The issue is reported by our tool in an automatic way. Although manually confirmed, it would be a false positive, given we do not know the specification of the program. We would very appreciate if you could check below for details and confirm with us whether it is a real problem. For more information, please refer to our website: http://sav.sutd.edu.sg/?page_id=2845

File: geoserver/geoserver/src/extension/control-flow/src/main/java/org/geoserver/flow/controller/RateFlowController.java
Location: Line (173, 223)
Description:
The get-put operations in the synchronized block (from line 169 to line 175) guarded by lock “userKey” may interleave with the get-remove operations synchronized block (from line 217 to line 231) guarded by lock “pipelines” since they are guarded by different locks. Thus the atomicity of the get-put operation may be broken by the remove operation in line 223.

File: geoserver/geoserver/src/extension/control-flow/src/main/java/org/geoserver/flow/controller/RateFlowController.java
Location: Line (74/71,87)
Description:
Same as above.

Priority:

MediumMedium

Reporter:

baigd

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-06-002#70102-sha1:82bb17d)

Atlassian logo