equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 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. |
275 C->AliasLevel() >= 3 && EliminateAllocations) { |
275 C->AliasLevel() >= 3 && EliminateAllocations) { |
276 // Now use the escape information to create unique types for |
276 // Now use the escape information to create unique types for |
277 // scalar replaceable objects. |
277 // scalar replaceable objects. |
278 split_unique_types(alloc_worklist); |
278 split_unique_types(alloc_worklist); |
279 if (C->failing()) return false; |
279 if (C->failing()) return false; |
280 C->print_method("After Escape Analysis", 2); |
280 C->print_method(PHASE_AFTER_EA, 2); |
281 |
281 |
282 #ifdef ASSERT |
282 #ifdef ASSERT |
283 } else if (Verbose && (PrintEscapeAnalysis || PrintEliminateAllocations)) { |
283 } else if (Verbose && (PrintEscapeAnalysis || PrintEliminateAllocations)) { |
284 tty->print("=== No allocations eliminated for "); |
284 tty->print("=== No allocations eliminated for "); |
285 C->method()->print_short_name(); |
285 C->method()->print_short_name(); |