936 |
936 |
937 #ifndef PRODUCT |
937 #ifndef PRODUCT |
938 if (TraceDeoptimization) { |
938 if (TraceDeoptimization) { |
939 ttyLocker ttyl; |
939 ttyLocker ttyl; |
940 tty->print_cr(" Created vframeArray " INTPTR_FORMAT, array); |
940 tty->print_cr(" Created vframeArray " INTPTR_FORMAT, array); |
941 if (Verbose) { |
|
942 int count = 0; |
|
943 // this used to leak deoptimizedVFrame like it was going out of style!!! |
|
944 for (int index = 0; index < array->frames(); index++ ) { |
|
945 vframeArrayElement* e = array->element(index); |
|
946 e->print(tty); |
|
947 |
|
948 /* |
|
949 No printing yet. |
|
950 array->vframe_at(index)->print_activation(count++); |
|
951 // better as... |
|
952 array->print_activation_for(index, count++); |
|
953 */ |
|
954 } |
|
955 } |
|
956 } |
941 } |
957 #endif // PRODUCT |
942 #endif // PRODUCT |
958 |
943 |
959 return array; |
944 return array; |
960 } |
945 } |