RFR: JDK-8025636 Hide lambda proxy frames in stacktraces
john.r.rose at oracle.com
Tue Feb 17 01:16:38 UTC 2015
On Feb 16, 2015, at 6:25 AM, Staffan Larsen <staffan.larsen at oracle.com> wrote:
> new webrev: http://cr.openjdk.java.net/~sla/8025636/webrev.02/ <http://cr.openjdk.java.net/~sla/8025636/webrev.02/>
Looks good; ship it.
To me this fix raises more questions:
1. Are there other places where we generate ACC_SYNTHETIC that should also get @Hidden annotations?
2. Should the JVM be filtering stack frames for ACC_SYNTHETIC (or ACC_BRIDGE or ACC_MANDATED) calls? (By default? Or perhaps as a new option?)
3. When will we have a reasonable stack walking mechanism where we can program such policies in JDK library code, instead of hacking the JVM?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the compiler-dev