LambdaForm toString() of MethodHandles
John Rose
john.r.rose at oracle.com
Mon Nov 19 13:33:26 PST 2012
On Nov 18, 2012, at 5:50 PM, Douglas Campos wrote:
> When doing MH.toString(), the LambdaForm output (as enabled by java.lang.invoke.MethodHandle.DEBUG_NAMES) is WAY more readable. Any reasons for not using it as the default beyond perf cost?
Hi Douglas!
The debugging output reveals lots of details about implementation details of each MH.
These details would be impossible to specify in an implementation-neutral manner.
So the EG, after discussion, decided to specify a standard toString behavior that is standardized.
We may extend the notation in the future, but will probably restrict ourselves to information that can be standardized.
Best,
— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20121119/a4050f34/attachment.html
More information about the mlvm-dev
mailing list