You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/07/05 16:49:06 UTC

[Bug 63543] New: Race Condition on org.apache.tomcat.util.threads.InlineExecutorService.shutdown

https://bz.apache.org/bugzilla/show_bug.cgi?id=63543

            Bug ID: 63543
           Summary: Race Condition on
                    org.apache.tomcat.util.threads.InlineExecutorService.s
                    hutdown
           Product: Tomcat 9
           Version: 9.0.2
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: April1989@tamu.edu
  Target Milestone: -----

InlineExecutorService is designed to run all submitted tasks in a single
thread. If so, all the fields in InlineExecutorService (i.e., shutdown,
taskRunning, terminated) are thread-safe and do not need lock protection. If
this is not the case, shutdown should also be protected by lock in method
shutdown().

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63543] Race Condition on org.apache.tomcat.util.threads.InlineExecutorService.shutdown

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63543

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
The OP has misunderstood the purpose and usage of the class.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org