[9] RFR (S): 8058293: Bit set computation in MHs.findFirstDupOrDrop/findFirstDrop is broken
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Mon Sep 15 16:48:08 UTC 2014
https://bugs.openjdk.java.net/browse/JDK-8058293
http://cr.openjdk.java.net/~vlivanov/8058293/webrev.00
Bit set computation in MHs.findFirstDupOrDrop/findFirstDrop is incorrect
due to widening primitive conversions (int -> long) taking place. The
fix is to explicitly use long where needed.
Also, fixed a case when reorder represents a permutation (zeroPos ==
newArity).
Testing: jck (api/java_lang/invoke), jdk/java/lang/invoke,
jdk/java/util/streams w/ "-ea -esa" and COMPILE_THRESHOLD={0,30}
Thanks!
Best regards,
Vladimir Ivanov
More information about the mlvm-dev
mailing list