hotspot/src/share/vm/code/compiledIC.cpp
changeset 11636 3c07b54482a5
parent 8921 14bfe81f2a9d
child 13728 882756847a04
equal deleted inserted replaced
11635:5a16856f871f 11636:3c07b54482a5
     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