Mercurial > hg > truffle
comparison src/share/vm/code/dependencies.hpp @ 19426:dd8989d5547f
provide more detail when Graal code installation fails due to a failed dependency check
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Feb 2015 14:49:05 +0100 |
parents | 6eda3b299460 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
19425:b6d8deed3fd5 | 19426:dd8989d5547f |
---|---|
506 DepType dept, | 506 DepType dept, |
507 int nargs, DepArgument args[], | 507 int nargs, DepArgument args[], |
508 Klass* witness = NULL); | 508 Klass* witness = NULL); |
509 static void print_dependency(DepType dept, | 509 static void print_dependency(DepType dept, |
510 int nargs, DepArgument args[], | 510 int nargs, DepArgument args[], |
511 Klass* witness = NULL); | 511 Klass* witness = NULL, outputStream* st = tty); |
512 | 512 |
513 private: | 513 private: |
514 // helper for encoding common context types as zero: | 514 // helper for encoding common context types as zero: |
515 static ciKlass* ctxk_encoded_as_null(DepType dept, ciBaseObject* x); | 515 static ciKlass* ctxk_encoded_as_null(DepType dept, ciBaseObject* x); |
516 | 516 |
603 | 603 |
604 // Log the current dependency to xtty or compilation log. | 604 // Log the current dependency to xtty or compilation log. |
605 void log_dependency(Klass* witness = NULL); | 605 void log_dependency(Klass* witness = NULL); |
606 | 606 |
607 // Print the current dependency to tty. | 607 // Print the current dependency to tty. |
608 void print_dependency(Klass* witness = NULL, bool verbose = false); | 608 void print_dependency(Klass* witness = NULL, bool verbose = false, outputStream* st = tty); |
609 }; | 609 }; |
610 friend class Dependencies::DepStream; | 610 friend class Dependencies::DepStream; |
611 | 611 |
612 static void print_statistics() PRODUCT_RETURN; | 612 static void print_statistics() PRODUCT_RETURN; |
613 }; | 613 }; |