提交 4991061f 编写于 作者: M morris

8009172: [parfait] Null pointer deference in hotspot/src/share/vm/opto/output.cpp

Summary: add guarantee() to DoScheduling()
Reviewed-by: twisti, kvn
上级 c1d9b057
......@@ -2518,6 +2518,7 @@ void Scheduling::DoScheduling() {
// Schedule the remaining instructions in the block
while ( _available.size() > 0 ) {
Node *n = ChooseNodeToBundle();
guarantee(n != NULL, "no nodes available");
AddNodeToBundle(n,bb);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册