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