Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCodeInstaller.cpp @ 22544:b87d1bf3cd9a
renamed TraceJVMCI option to JVMCITraceLevel and ensured all tracing controlled by this option uses the TRACE_jvmci_* macros
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 09 Sep 2015 20:29:40 +0200 |
parents | ea6d1727fdc6 |
children | 02fc27dc1da7 |
comparison
equal
deleted
inserted
replaced
22543:97ca867d3622 | 22544:b87d1bf3cd9a |
---|---|
746 jint bci = BytecodePosition::bci(position); | 746 jint bci = BytecodePosition::bci(position); |
747 if (bci == BytecodeFrame::BEFORE_BCI()) { | 747 if (bci == BytecodeFrame::BEFORE_BCI()) { |
748 bci = SynchronizationEntryBCI; | 748 bci = SynchronizationEntryBCI; |
749 } | 749 } |
750 | 750 |
751 if (TraceJVMCI >= 2) { | 751 TRACE_jvmci_2("Recording scope pc_offset=%d bci=%d method=%s", pc_offset, bci, method->name_and_sig_as_C_string()); |
752 tty->print_cr("Recording scope pc_offset=%d bci=%d method=%s", pc_offset, bci, method->name_and_sig_as_C_string()); | |
753 } | |
754 | 752 |
755 bool reexecute = false; | 753 bool reexecute = false; |
756 if (frame != NULL) { | 754 if (frame != NULL) { |
757 if (bci == SynchronizationEntryBCI){ | 755 if (bci == SynchronizationEntryBCI){ |
758 reexecute = false; | 756 reexecute = false; |
782 | 780 |
783 GrowableArray<ScopeValue*>* locals = local_count > 0 ? new GrowableArray<ScopeValue*> (local_count) : NULL; | 781 GrowableArray<ScopeValue*>* locals = local_count > 0 ? new GrowableArray<ScopeValue*> (local_count) : NULL; |
784 GrowableArray<ScopeValue*>* expressions = expression_count > 0 ? new GrowableArray<ScopeValue*> (expression_count) : NULL; | 782 GrowableArray<ScopeValue*>* expressions = expression_count > 0 ? new GrowableArray<ScopeValue*> (expression_count) : NULL; |
785 GrowableArray<MonitorValue*>* monitors = monitor_count > 0 ? new GrowableArray<MonitorValue*> (monitor_count) : NULL; | 783 GrowableArray<MonitorValue*>* monitors = monitor_count > 0 ? new GrowableArray<MonitorValue*> (monitor_count) : NULL; |
786 | 784 |
787 if (TraceJVMCI >= 2) { | 785 TRACE_jvmci_2("Scope at bci %d with %d values", bci, values->length()); |
788 tty->print_cr("Scope at bci %d with %d values", bci, values->length()); | 786 TRACE_jvmci_2("%d locals %d expressions, %d monitors", local_count, expression_count, monitor_count); |
789 tty->print_cr("%d locals %d expressions, %d monitors", local_count, expression_count, monitor_count); | |
790 } | |
791 | 787 |
792 for (jint i = 0; i < values->length(); i++) { | 788 for (jint i = 0; i < values->length(); i++) { |
793 ScopeValue* second = NULL; | 789 ScopeValue* second = NULL; |
794 oop value = values->obj_at(i); | 790 oop value = values->obj_at(i); |
795 if (i < local_count) { | 791 if (i < local_count) { |