Code Review for JEP 259: Stack-Walking API

Brent Christian brent.christian at oracle.com
Wed Nov 18 22:28:50 UTC 2015


On 11/18/15 2:24 PM, Mandy Chung wrote:
>> ==
>> >jdk/src/java.base/share/classes/java/lang/StackFrameInfo.java
>> >
>> >66
>> >Perhaps this.memberName does not need to be allocated in the case of -XX:-MemberNameInStackFrame ?
>> >
> For more accurate footprint comparison, yes it should not allocate MemberName.  Same for the injected fields if -XX:+MemberNameInStackFrame is set which is the default.  I prefer to leave it as the follow-on work for JDK-8141239.  This should give a good starting point to do performance measurement for Throwable.

That's fine with me.

Thanks,
-Brent



More information about the core-libs-dev mailing list