Mercurial > hg > truffle
diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java @ 5661:28dea025b221
reduced shutdown pause when -G:Dump is used from 5 seconds to 2
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 20 Jun 2012 16:59:43 +0200 |
parents | a7ed598130c2 |
children | 429accae15aa |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java Wed Jun 20 16:59:15 2012 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java Wed Jun 20 16:59:43 2012 +0200 @@ -232,8 +232,8 @@ if (queue != null) { queue.shutdown(); if (Debug.isEnabled() && GraalOptions.Dump != null) { - // Wait 5 seconds to try and flush out all graph dumps - queue.awaitTermination(5, TimeUnit.SECONDS); + // Wait 2 seconds to flush out all graph dumps that may be of interest + queue.awaitTermination(2, TimeUnit.SECONDS); } } }