Mercurial > hg > truffle
comparison src/share/vm/code/dependencies.cpp @ 6972:bd7a7ce2e264
6830717: replay of compilations would help with debugging
Summary: When java process crashed in compiler thread, repeat the compilation process will help finding root cause. This is done with using SA dump application class data and replay data from core dump, then use debug version of jvm to recompile the problematic java method.
Reviewed-by: kvn, twisti, sspitsyn
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Mon, 12 Nov 2012 14:03:53 -0800 |
parents | 18fb7da42534 |
children | 80e866b1d053 |
comparison
equal
deleted
inserted
replaced
6965:3be318ecfae5 | 6972:bd7a7ce2e264 |
---|---|
567 } | 567 } |
568 } | 568 } |
569 | 569 |
570 void Dependencies::DepStream::log_dependency(Klass* witness) { | 570 void Dependencies::DepStream::log_dependency(Klass* witness) { |
571 if (_deps == NULL && xtty == NULL) return; // fast cutout for runtime | 571 if (_deps == NULL && xtty == NULL) return; // fast cutout for runtime |
572 ResourceMark rm; | |
572 int nargs = argument_count(); | 573 int nargs = argument_count(); |
573 DepArgument args[max_arg_count]; | 574 DepArgument args[max_arg_count]; |
574 for (int j = 0; j < nargs; j++) { | 575 for (int j = 0; j < nargs; j++) { |
575 if (type() == call_site_target_value) { | 576 if (type() == call_site_target_value) { |
576 args[j] = argument_oop(j); | 577 args[j] = argument_oop(j); |