8166781: fix wrong comment in ReceiverTypeData
authorrschatz
Mon, 03 Oct 2016 17:54:28 +0000
changeset 41701 908cd3b6bddc
parent 41699 fcefeb90b468
child 41702 fa592dd9dcd9
8166781: fix wrong comment in ReceiverTypeData Reviewed-by: kvn
hotspot/src/share/vm/oops/methodData.hpp
--- a/hotspot/src/share/vm/oops/methodData.hpp	Wed Sep 28 11:17:51 2016 +0200
+++ b/hotspot/src/share/vm/oops/methodData.hpp	Mon Oct 03 17:54:28 2016 +0000
@@ -1190,12 +1190,11 @@
 #if INCLUDE_JVMCI
     // Description of the different counters
     // ReceiverTypeData for instanceof/checkcast/aastore:
-    //   C1/C2: count is incremented on type overflow and decremented for failed type checks
-    //   JVMCI: count decremented for failed type checks and nonprofiled_count is incremented on type overflow
-    //          TODO (chaeubl): in fact, JVMCI should also increment the count for failed type checks to mimic the C1/C2 behavior
+    //   count is decremented for failed type checks
+    //   JVMCI only: nonprofiled_count is incremented on type overflow
     // VirtualCallData for invokevirtual/invokeinterface:
-    //   C1/C2: count is incremented on type overflow
-    //   JVMCI: count is incremented on type overflow, nonprofiled_count is incremented on method overflow
+    //   count is incremented on type overflow
+    //   JVMCI only: nonprofiled_count is incremented on method overflow
 
     // JVMCI is interested in knowing the percentage of type checks involving a type not explicitly in the profile
     nonprofiled_count_off_set = counter_cell_count,