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

Mandy Chung mchung at openjdk.org
Thu Sep 7 19:07:52 UTC 2023


On Thu, 7 Sep 2023 18:51:44 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review feedback
>
> test/micro/org/openjdk/bench/java/lang/StackWalkBench.java line 60:
> 
>> 58:     static StackWalker walker(String name) {
>> 59:         return switch (name) {
>> 60:             case "class+method" -> WALKER;
> 
> don't you need to also change "default" into "class+method" in the `@Param({"default", "class_only"})` annotations below?

thanks for catching it. will fix.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15370#discussion_r1319009375


More information about the core-libs-dev mailing list