String concatenation tweaks
Aleksey Shipilev
aleksey.shipilev at oracle.com
Thu Jun 4 16:23:03 UTC 2015
On 06/04/2015 04:47 PM, Maurizio Cimadamore wrote:
> My feeling is that this is a game of diminishing returns;
Hey, this project is 20 years old! Pretty much everything is a game of
diminishing returns around here. But think about the scale of it :)
> and I simply think that before dismissing alternatives, we should
> take them into account in case there are any surprises. That's what I
> would do if I had submittted the JEP.
My point is that any strategy implemented in javac itself would perform
as good as the thing called through the indy. There is no magic: it is
still bytecode, whether inlined into the program by javac, or generated
and inlined by JVM.
The decision should be about the soundness of the approach that opens up
future opportunities, not about whether a band-aid solves the issue for
now, at the scale we understand is needed now.
> I'm sure Louis would be more than happy to provide a patch to add some
> additional depth to your current benchmarks.
While it maybe an interesting experiment to try, the performance
engineering experience tells me to focus on the parts that are relevant,
rather than doing every experiment you can come up with, otherwise you
will never ever un-bury yourself from the performance work :)
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20150604/6f58d490/signature.asc>
More information about the compiler-dev
mailing list