changeset 7092:bb6d2860e431

For code installation failure, start the counter so that we don't get an error message if an installation fails shortly after the VM has started
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 29 Nov 2012 15:13:19 +0100
parents 08fe3a509cf1
children b3c94e1e18e9 37e75cc87c66
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java	Thu Nov 29 13:31:48 2012 +0100
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java	Thu Nov 29 15:13:19 2012 +0100
@@ -46,7 +46,7 @@
     /**
      * Number of successive successful installations.
      */
-    private long successfulInstallations;
+    private long successfulInstallations = MINIMUM_SUCCESSFUL_INSTALLATIONS_PER_FAILURE;
 
     /**
      * The minimum expected number of successful code installations between each code