< prev index next >

src/share/vm/code/nmethod.cpp

Print this page

        

@@ -985,10 +985,12 @@
             assert(csc->is_clean(), "IC should be clean");
           }
         }
         break;
       }
+      default:
+        break;
     }
   }
 }
 
 // This is a private interface with the sweeper.

@@ -2185,17 +2187,20 @@
       case relocInfo::static_call_type:
         stub = iter.static_call_reloc()->static_stub(false);
         //verify_interrupt_point(iter.addr());
         break;
       case relocInfo::runtime_call_type:
-      case relocInfo::runtime_call_w_cp_type:
+      case relocInfo::runtime_call_w_cp_type: {
         address destination = iter.reloc()->value();
         // Right now there is no way to find out which entries support
         // an interrupt point.  It would be nice if we had this
         // information in a table.
         break;
     }
+      default:
+        break;
+    }
     assert(stub == NULL || stub_contains(stub), "static call stub outside stub section");
   }
 }
 
 

@@ -2487,10 +2492,13 @@
         case relocInfo::internal_word_type:    return "internal_word";
         case relocInfo::section_word_type:     return "section_word";
         case relocInfo::poll_type:             return "poll";
         case relocInfo::poll_return_type:      return "poll_return";
         case relocInfo::type_mask:             return "type_bit_mask";
+
+        default:
+          break;
     }
   }
   return have_one ? "other" : NULL;
 }
 

@@ -2672,10 +2680,12 @@
             if (field.name() != NULL)
               field.name()->print_symbol_on(st);
             else
               st->print("<UNKNOWN>");
           }
+        default:
+          break;
         }
       }
       st->print(" {reexecute=%d rethrow=%d return_oop=%d}", sd->should_reexecute(), sd->rethrow_exception(), sd->return_oop());
     }
 

@@ -2979,6 +2989,5 @@
   }
   jio_snprintf(buf, buflen, "noInstalledCode");
   return buf;
 }
 #endif
-
< prev index next >