hotspot/src/share/vm/classfile/javaClasses.cpp
changeset 13392 1ef07ae0723d
parent 13391 30245956af37
child 13728 882756847a04
equal deleted inserted replaced
13391:30245956af37 13392:1ef07ae0723d
  1460   RegisterMap map(thread, false);
  1460   RegisterMap map(thread, false);
  1461   int decode_offset = 0;
  1461   int decode_offset = 0;
  1462   nmethod* nm = NULL;
  1462   nmethod* nm = NULL;
  1463   bool skip_fillInStackTrace_check = false;
  1463   bool skip_fillInStackTrace_check = false;
  1464   bool skip_throwableInit_check = false;
  1464   bool skip_throwableInit_check = false;
  1465   bool skip_hidden = false;
  1465   bool skip_hidden = !ShowHiddenFrames;
  1466 
  1466 
  1467   for (frame fr = thread->last_frame(); max_depth != total_count;) {
  1467   for (frame fr = thread->last_frame(); max_depth != total_count;) {
  1468     methodOop method = NULL;
  1468     methodOop method = NULL;
  1469     int bci = 0;
  1469     int bci = 0;
  1470 
  1470 
  1542         skip_throwableInit_check = true;
  1542         skip_throwableInit_check = true;
  1543       }
  1543       }
  1544     }
  1544     }
  1545     if (method->is_hidden()) {
  1545     if (method->is_hidden()) {
  1546       if (skip_hidden)  continue;
  1546       if (skip_hidden)  continue;
  1547     } else {
       
  1548       // start skipping hidden frames after first non-hidden frame
       
  1549       skip_hidden = !ShowHiddenFrames;
       
  1550     }
  1547     }
  1551     bt.push(method, bci, CHECK);
  1548     bt.push(method, bci, CHECK);
  1552     total_count++;
  1549     total_count++;
  1553   }
  1550   }
  1554 
  1551