Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/methodData.hpp @ 23774:038908669316
8166781: fix wrong comment in ReceiverTypeData
Reviewed-by: kvn
author | rschatz |
---|---|
date | Mon, 03 Oct 2016 17:54:28 +0000 |
parents | 5796b1867b68 |
children |
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.hpp Fri Sep 30 12:22:05 2016 +0200 +++ b/src/share/vm/oops/methodData.hpp Mon Oct 03 17:54:28 2016 +0000 @@ -1186,12 +1186,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,