RFR: 8245455: Remove alternative StringConcatFactory strategies

Aleksey Shipilev shade at redhat.com
Fri May 22 11:56:45 UTC 2020


On 5/22/20 1:53 PM, Claes Redestad wrote:
> Do you have any example of a case when one of the fallbacks was used to
> work around any issues? We've heard of no such case.

For example, the bug in j.l.invoke caused semantic bug in String concat:
  https://bugs.openjdk.java.net/browse/JDK-8200118
  https://bugs.openjdk.java.net/browse/JDK-8194554

> BC_SB has a rather intricate dependency on ASM, and recent stabilization
> work done to the default strategy will need to be duplicated. If we were
> to keep a fallback (which I don't think we actually need), I'd prefer
> keeping either MH_SB_SIZED or MH_SB_SIZED_EXACT.

See above. I believe we better have the fallback that does not enter the meat of j.l.invoke at all.

-- 
Thanks,
-Aleksey



More information about the core-libs-dev mailing list