Ejemplo n.º 1
0
  // Iteration
  void next() {
    // handle frames with inlining
    if (_mode == compiled_mode    && fill_in_compiled_inlined_sender()) return;

    // handle general case
    do {
      _frame = _frame.sender(&_reg_map);
    } while (!fill_from_frame());
  }
Ejemplo n.º 2
0
void vframeStreamCommon::next() {
  // handle frames with inlining
#ifndef CORE
  if (_mode == compiled_mode    && fill_in_compiled_inlined_sender()) return;
#endif

  // handle general case
  nmethod* code = _mode == compiled_mode ? _code : NULL;
  do {
    _frame = _frame.sender(&_reg_map, (CodeBlob*)code);    
    code = NULL; // After first iteration, we got no cached nmethod
  } while (!fill_from_frame());
}