RFR (S) 8212956: [JVCMI] SpeculationReason should maintain identity

Tom Rodriguez tom.rodriguez at oracle.com
Thu Oct 25 17:36:30 UTC 2018


The changes for JDK-8205824 introduced a level of indirection in the 
Speculation implementation for JVMCI but lost some identity along the 
way. Speculating on the same SpeculationReason multiple times should 
result in an equivalent Speculation and JavaConstant encoding to avoid 
unnecessary duplication of uncommon traps.  Tested with new unit test 
and graal gates.


More information about the hotspot-compiler-dev mailing list