8054492: Casting can result in redundant null checks in generated code
Summary: add C2 intrinsic for Class.cast() method and force inline it too.
Reviewed-by: jrose, roland, drchase, iignatyev
thartmann [Fri, 31 Oct 2014 12:16:20 +0100] rev 27447
8062169: Multiple OSR compilations issued for same bci
Summary: Fixed 'SimpleThresholdPolicy::event' to always perform OSR if an OSR nmethod is available.
Reviewed-by: kvn, iveresov