Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
18695:5281f8e34a4a | 18696:b2859128b76a |
---|---|
426 for (Dependencies::DepStream deps(dependencies); deps.next(); ) { | 426 for (Dependencies::DepStream deps(dependencies); deps.next(); ) { |
427 Klass* witness = deps.check_dependency(); | 427 Klass* witness = deps.check_dependency(); |
428 if (witness != NULL) { | 428 if (witness != NULL) { |
429 return false; | 429 return false; |
430 } | 430 } |
431 deps.log_dependency(); | 431 if (LogCompilation) { |
432 deps.log_dependency(); | |
433 } | |
432 } | 434 } |
433 | 435 |
434 return true; | 436 return true; |
435 } | 437 } |
436 | 438 |