[ https://issues.apache.org/jira/browse/S4-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Gómez Ferro updated S4-78:
---------------------------------
Attachment: 0001-Explicit-shutdown.patch
This patch requests an explicit shutdown of the JVM after the task is completed.
Before:
{quote}
$ time ./s4 s4r -b=$PWD/build.gradle myApp
[...]
BUILD SUCCESSFUL
Total time: 9.418 secs
*(( long pause ))*
real 1m2.537s
user 0m1.661s
sys 0m0.201s
{quote}
After:
{quote}
$ time ./s4 s4r -b=$PWD/build.gradle myApp
[...]
BUILD SUCCESSFUL
Total time: 2.621 secs
real 0m3.178s
user 0m1.541s
sys 0m0.138s
{quote}
> Gradle tasks don't finish as soon as possible
> ---------------------------------------------
>
> Key: S4-78
> URL: https://issues.apache.org/jira/browse/S4-78
> Project: Apache S4
> Issue Type: Improvement
> Affects Versions: 0.5
> Reporter: Daniel Gómez Ferro
> Fix For: 0.5
>
> Attachments: 0001-Explicit-shutdown.patch
>
>
> Some Gradle tasks don't finish as soon as possible, since they leave a non-daemon thread
running. It seems that after a timeout (1 minute) the thread exits and the task completes.
> This is specially apparent after the improvements in build time in S4-72
> One possible workaround is to explicitly shutdown the JVM after the task is finished.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
|