https://issues.apache.org/bugzilla/show_bug.cgi?id=54056

J.M. (Martijn) Kruithof <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from J.M. (Martijn) Kruithof <[email protected]> ---
As can be seen most threads are in runnable state on
java.util.HashMap.get(HashMap.java:303).

It is known and documented that HashMap is not thread-safe.
>From other fault reports it can be seen that an concurrent modification may
corrupt the HashMap in such way that an endless loop will occur when getting
data from the HashMap.

The HashMap used in the code of checkstyle at line 161 is indeed a final
static, and not protected in any way against concurrent modification.

So this is either a bug in checkstyle, or checkstyle is not designed to be
thread safe - in which case it should not be run in Parallel.

While it is stuck, your CPU load should be at 100%, as the threads are running
(and not finishing, parallel is waiting for the threads to finish)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to