src/share/vm/code/compiledIC.cpp

changeset 3499
aa3d708d67c4
parent 2708
1d1603768966
child 4037
da91efe96a93
equal deleted inserted replaced
3498:f067b4e0e04b 3499:aa3d708d67c4
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

mercurial