This commit is contained in:
Roland Schatz 2016-10-03 19:09:26 +00:00
commit 067a31e839

View file

@ -1190,12 +1190,11 @@ protected:
#if INCLUDE_JVMCI #if INCLUDE_JVMCI
// Description of the different counters // Description of the different counters
// ReceiverTypeData for instanceof/checkcast/aastore: // ReceiverTypeData for instanceof/checkcast/aastore:
// C1/C2: count is incremented on type overflow and decremented for failed type checks // count is decremented for failed type checks
// JVMCI: count decremented for failed type checks and nonprofiled_count is incremented on type overflow // JVMCI only: 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
// VirtualCallData for invokevirtual/invokeinterface: // VirtualCallData for invokevirtual/invokeinterface:
// C1/C2: count is incremented on type overflow // count is incremented on type overflow
// JVMCI: count is incremented on type overflow, nonprofiled_count is incremented on method 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 // 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, nonprofiled_count_off_set = counter_cell_count,