src/utils/LogCompilation/src/com/sun/hotspot/tools/compiler/LogParser.java
changeset 48163 ea5906610227
parent 48017 24065d1e139c
equal deleted inserted replaced
48160:599f67f3c6d6 48163:ea5906610227
  1023                     // These are messages from ciTypeFlow that don't
  1023                     // These are messages from ciTypeFlow that don't
  1024                     // actually correspond to generated code.
  1024                     // actually correspond to generated code.
  1025                     return;
  1025                     return;
  1026                 }
  1026                 }
  1027                 try {
  1027                 try {
       
  1028                     UncommonTrap unc = new UncommonTrap(Integer.parseInt(search(atts, "bci")),
       
  1029                             search(atts, "reason"),
       
  1030                             search(atts, "action"),
       
  1031                             bytecodes[current_bytecode]);
  1028                     if (scopes.size() == 0) {
  1032                     if (scopes.size() == 0) {
  1029                         reportInternalError("scope underflow");
  1033                         // There may be a dangling site not yet in scopes after a late_inline
       
  1034                         if (site != null) {
       
  1035                             site.add(unc);
       
  1036                         } else {
       
  1037                             reportInternalError("scope underflow");
       
  1038                         }
       
  1039                     } else {
       
  1040                         scopes.peek().add(unc);
  1030                     }
  1041                     }
  1031                     scopes.peek().add(new UncommonTrap(Integer.parseInt(search(atts, "bci")),
       
  1032                                                        search(atts, "reason"),
       
  1033                                                        search(atts, "action"),
       
  1034                                                        bytecodes[current_bytecode]));
       
  1035                 } catch (Error e) {
  1042                 } catch (Error e) {
  1036                     e.printStackTrace();
  1043                     e.printStackTrace();
  1037                 }
  1044                 }
  1038             }
  1045             }
  1039         } else if (qname.startsWith("eliminate_lock")) {
  1046         } else if (qname.startsWith("eliminate_lock")) {