diff src/share/vm/oops/instanceKlass.cpp @ 7154:5d0bb7d52783

changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author Doug Simon <doug.simon@oracle.com>
date Wed, 12 Dec 2012 21:36:40 +0100
parents 2cb439954abf
children 291ffc492eb6
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp	Wed Dec 12 15:46:11 2012 +0100
+++ b/src/share/vm/oops/instanceKlass.cpp	Wed Dec 12 21:36:40 2012 +0100
@@ -2161,7 +2161,7 @@
 
 void InstanceKlass::clean_method_data(BoolObjectClosure* is_alive) {
 #if defined(COMPILER2) || defined(GRAAL)
-   // Currently only used by C2.
+   // Currently only used by C2 and Graal
   for (int m = 0; m < methods()->length(); m++) {
     MethodData* mdo = methods()->at(m)->method_data();
     if (mdo != NULL) {