Re: RFR: 8268829: Provide an optimized way to walk the stack with Class object only [v12]

2023-09-07 Thread Mandy Chung
> 8268829: Provide an optimized way to walk the stack with Class object only > > `StackWalker::walk` creates one `StackFrame` per frame and the current > implementation > allocates one `StackFrameInfo` and one `MemberName` objects per frame. Some > frameworks > like logging may only interest in

Re: RFR: 8268829: Provide an optimized way to walk the stack with Class object only [v12]

2023-09-07 Thread Daniel Fuchs
On Thu, 7 Sep 2023 19:27:14 GMT, Mandy Chung wrote: >> 8268829: Provide an optimized way to walk the stack with Class object only >> >> `StackWalker::walk` creates one `StackFrame` per frame and the current >> implementation >> allocates one `StackFrameInfo` and one `MemberName` objects per fra

Re: RFR: 8268829: Provide an optimized way to walk the stack with Class object only [v12]

2023-09-17 Thread ExE Boss
On Thu, 7 Sep 2023 19:27:14 GMT, Mandy Chung wrote: >> 8268829: Provide an optimized way to walk the stack with Class object only >> >> `StackWalker::walk` creates one `StackFrame` per frame and the current >> implementation >> allocates one `StackFrameInfo` and one `MemberName` objects per fra

Re: RFR: 8268829: Provide an optimized way to walk the stack with Class object only [v12]

2023-09-17 Thread Chen Liang
On Sun, 17 Sep 2023 06:57:46 GMT, ExE Boss wrote: >> Mandy Chung has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix @Param due to the rename from default to class+method > > src/java.base/share/classes/java/lang/StackFrameInfo.java line

Re: RFR: 8268829: Provide an optimized way to walk the stack with Class object only [v12]

2023-09-18 Thread Mandy Chung
On Sun, 17 Sep 2023 07:42:43 GMT, Chen Liang wrote: >> src/java.base/share/classes/java/lang/StackFrameInfo.java line 93: >> >>> 91: synchronized (this) { >>> 92: if (type instanceof String sig) { >>> 93: type = JLIA.getMethodType(sig, >>> declaringClass().ge