comparison src/share/vm/code/compiledIC.cpp @ 4970:33df1aeaebbf

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 13:10:13 +0100
parents 723df37192d6 aa3d708d67c4
children 1b8d02e10ee8
comparison
equal deleted inserted replaced
4703:2cfb7fb2dce7 4970:33df1aeaebbf
1 /* 1 /*
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2012, 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.
163 ResourceMark rm; 163 ResourceMark rm;
164 tty->print_cr ("IC@" INTPTR_FORMAT ": to megamorphic %s entry: " INTPTR_FORMAT, 164 tty->print_cr ("IC@" INTPTR_FORMAT ": to megamorphic %s entry: " INTPTR_FORMAT,
165 instruction_address(), method->print_value_string(), entry); 165 instruction_address(), method->print_value_string(), entry);
166 } 166 }
167 167
168 Events::log("compiledIC " INTPTR_FORMAT " --> megamorphic " INTPTR_FORMAT, this, (address)method());
169 // We can't check this anymore. With lazy deopt we could have already 168 // We can't check this anymore. With lazy deopt we could have already
170 // cleaned this IC entry before we even return. This is possible if 169 // cleaned this IC entry before we even return. This is possible if
171 // we ran out of space in the inline cache buffer trying to do the 170 // we ran out of space in the inline cache buffer trying to do the
172 // set_next and we safepointed to free up space. This is a benign 171 // set_next and we safepointed to free up space. This is a benign
173 // race because the IC entry was complete when we safepointed so 172 // race because the IC entry was complete when we safepointed so