8229496: SIGFPE (division by zero) in C2 OSR compiled method

Adding a CastNode to keep the dependency between the div/mod operation and the zero check.

Reviewed-by: roland, mdoerr
This commit is contained in:
Tobias Hartmann 2019-09-05 13:56:17 +02:00
parent 2fa3eddd3c
commit a4b46ccc23
15 changed files with 264 additions and 23 deletions

View file

@ -1592,6 +1592,7 @@ typedef HashtableEntry<InstanceKlass*, mtClass> KlassHashtableEntry;
declare_c2_type(DecodeNKlassNode, TypeNode) \
declare_c2_type(ConstraintCastNode, TypeNode) \
declare_c2_type(CastIINode, ConstraintCastNode) \
declare_c2_type(CastLLNode, ConstraintCastNode) \
declare_c2_type(CastPPNode, ConstraintCastNode) \
declare_c2_type(CheckCastPPNode, TypeNode) \
declare_c2_type(Conv2BNode, Node) \