diff src/share/vm/graal/graalEnv.cpp @ 18696:b2859128b76a

Only log dependencies if LogCompilation is on
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 16 Dec 2014 10:20:43 -0800
parents 6eda3b299460
children 8f2fb6bec986
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.cpp	Tue Dec 16 08:56:51 2014 -0800
+++ b/src/share/vm/graal/graalEnv.cpp	Tue Dec 16 10:20:43 2014 -0800
@@ -428,7 +428,9 @@
     if (witness != NULL) {
       return false;
     }
-    deps.log_dependency();
+    if (LogCompilation) {
+      deps.log_dependency();
+    }
   }
 
   return true;