[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-153) ZIP Export does not shut down the internal ExecutorService

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Apr 20 11:54:49 EDT 2010


ZIP Export does not shut down the internal ExecutorService
----------------------------------------------------------

                 Key: SHRINKWRAP-153
                 URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-153
             Project: ShrinkWrap
          Issue Type: Bug
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger
             Fix For: 1.0.0-alpha-8


During ZIP Export, we use the archive's configured ExecutorService to submit the encoding task, letting the reader continue in the Main thread.  This enables an encoding-on-demand which limits resource starvation (only encode as the archive is read) and keeps us from generating OOME as defined by SHRINKWRAP-137.  

There's currently no mechanism to shut down the ES however, leaving non-daemon threads hanging around which prevent the JVM from shutting down.  When the task is completed, ensure the service shuts down.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list