8009172: [parfait] Null pointer deference in hotspot/src/share/vm/opto/output.cpp
Summary: add guarantee() to DoScheduling()
Reviewed-by: twisti, kvn
--- a/hotspot/src/share/vm/opto/output.cpp Tue Mar 19 10:31:16 2013 +0100
+++ b/hotspot/src/share/vm/opto/output.cpp Tue Mar 19 07:20:15 2013 -0700
@@ -2518,6 +2518,7 @@
// Schedule the remaining instructions in the block
while ( _available.size() > 0 ) {
Node *n = ChooseNodeToBundle();
+ guarantee(n != NULL, "no nodes available");
AddNodeToBundle(n,bb);
}