You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "François Courtault (JIRA)" <ji...@apache.org> on 2018/10/11 16:06:00 UTC

[jira] [Updated] (CXF-7869) Infinite loop in rest client

     [ https://issues.apache.org/jira/browse/CXF-7869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

François Courtault updated CXF-7869:
------------------------------------
    Description: 
Hello,

During stress tests, we found several threads with this pattern:
      java.lang.Thread.State: RUNNABLE
          at java.util.WeakHashMap.put(WeakHashMap.java:453)
          at java.util.Collections$SetFromMap.add(Collections.java:5461)
          at org.apache.cxf.jaxrs.client.spec.ClientImpl$WebTargetImpl.initTargetClientIfNeeded(ClientImpl.java:358)

This same issue has been found by others:

[http://www.adam-bien.com/roller/abien/entry/endless_loops_in_unsychronized_weakhashmap]

Best regards.

  was:
Hello,

During stress tests, we found several threads with this pattern:
      java.lang.Thread.State: RUNNABLE
          at java.util.WeakHashMap.put(WeakHashMap.java:453)
          at java.util.Collections$SetFromMap.add(Collections.java:5461)
          at org.apache.cxf.jaxrs.client.spec.ClientImpl$WebTargetImpl.initTargetCl ientIfNeeded(ClientImpl.java:358)

This same issue has been found by others:

[http://www.adam-bien.com/roller/abien/entry/endless_loops_in_unsychronized_weakhashmap]

Best regards.


> Infinite loop in rest client
> ----------------------------
>
>                 Key: CXF-7869
>                 URL: https://issues.apache.org/jira/browse/CXF-7869
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.6, 3.1.17
>            Reporter: François Courtault
>            Priority: Major
>
> Hello,
> During stress tests, we found several threads with this pattern:
>       java.lang.Thread.State: RUNNABLE
>           at java.util.WeakHashMap.put(WeakHashMap.java:453)
>           at java.util.Collections$SetFromMap.add(Collections.java:5461)
>           at org.apache.cxf.jaxrs.client.spec.ClientImpl$WebTargetImpl.initTargetClientIfNeeded(ClientImpl.java:358)
> This same issue has been found by others:
> [http://www.adam-bien.com/roller/abien/entry/endless_loops_in_unsychronized_weakhashmap]
> Best regards.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)