comparison src/share/vm/opto/chaitin.cpp @ 10999:693e4d04fd09

8014959: assert(Compile::current()->live_nodes() < (uint)MaxNodeLimit) failed: Live Node limit exceeded limit Summary: Insert extra checks and bailouts for too many nodes Reviewed-by: kvn
author drchase
date Tue, 11 Jun 2013 16:34:34 -0400
parents 8373c19be854
children d1034bd8cefc
comparison
equal deleted inserted replaced
10997:46c544b8fbfc 10999:693e4d04fd09
1 /* 1 /*
2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
433 PhaseAggressiveCoalesce coalesce(*this); 433 PhaseAggressiveCoalesce coalesce(*this);
434 coalesce.coalesce_driver(); 434 coalesce.coalesce_driver();
435 // Insert un-coalesced copies. Visit all Phis. Where inputs to a Phi do 435 // Insert un-coalesced copies. Visit all Phis. Where inputs to a Phi do
436 // not match the Phi itself, insert a copy. 436 // not match the Phi itself, insert a copy.
437 coalesce.insert_copies(_matcher); 437 coalesce.insert_copies(_matcher);
438 if (C->failing()) {
439 return;
440 }
438 } 441 }
439 442
440 // After aggressive coalesce, attempt a first cut at coloring. 443 // After aggressive coalesce, attempt a first cut at coloring.
441 // To color, we need the IFG and for that we need LIVE. 444 // To color, we need the IFG and for that we need LIVE.
442 { 445 {