1.1 --- a/src/share/vm/opto/chaitin.cpp Fri Jun 07 16:46:37 2013 -0700 1.2 +++ b/src/share/vm/opto/chaitin.cpp Tue Jun 11 16:34:34 2013 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -435,6 +435,9 @@ 1.11 // Insert un-coalesced copies. Visit all Phis. Where inputs to a Phi do 1.12 // not match the Phi itself, insert a copy. 1.13 coalesce.insert_copies(_matcher); 1.14 + if (C->failing()) { 1.15 + return; 1.16 + } 1.17 } 1.18 1.19 // After aggressive coalesce, attempt a first cut at coloring.