[16] RFR(S): 8251458: Parse::do_lookupswitch fails with "assert(_cnt >= 0) failed"

Tobias Hartmann tobias.hartmann at oracle.com
Thu Aug 13 06:09:06 UTC 2020


Hi Vladimir,

Thanks for looking at this!

On 13.08.20 00:24, Vladimir Ivanov wrote:
> Though the fix itself looks sufficient, the code around is still not pretty... In particular,
> profile data goes through uint->jint->int->float(!) conversion which doesn't make any sense.
> 
> It would be really nice to clean it up.

Yes, I've noticed that as well but didn't want to clean it up with this patch because we need to
backport to 11u. I've filed JDK-8251513 [1] for the cleanup.

Best regards,
Tobias

[1] https://bugs.openjdk.java.net/browse/JDK-8251513


More information about the hotspot-compiler-dev mailing list