RFR (XS): 8159734: Consistency check fails with -XX:-ProfileInterpreter
zoltan.majo at oracle.com
Fri Mar 10 13:55:56 UTC 2017
please review the fix for 8159734.
If run with -XX:-ProfileInterpreter, the VM crashes due to the failure
of the assert at . The reason for the failure is that the operations
ensuring the consistency of profiling data  are performed only with
interpreter profiling enabled.
Even if interpreter profiling is disabled, there can be one recorded
type for a call instruction (morphism == 1) with count > 0. The reason
is that the C1 compiler not only records the type but also increments
the counter (e.g., see LIR_Assembler::emit_profile_call()).
The fix ensures that the consistency of profiling data is performed also
Fix tested with JPRT, RBT testing is in progress.
More information about the hotspot-compiler-dev