RFR 8221623 : Add StackWalker micro benchmarks to jdk repo

Mandy Chung mandy.chung at oracle.com
Mon Sep 23 23:48:20 UTC 2019


On 9/19/19 12:08 PM, Brent Christian wrote:
> Hi, Daniel
>
> http://cr.openjdk.java.net/~bchristi/8221623/webrev09-loggerPerThread/
>

I think doing the measurement for one of these would be adequate.

StackWalkBench.forEach_AllOpts
StackWalkBench.forEach_DefaultOpts
StackWalkBench.forEach_HiddenAndReflectFrames

There are a couple of commented benchmarks.  Should they be taken out?
  

> Though really, since logging is no longer using Throwable to examine 
> the call stack, maybe it makes more sense to move the logging 
> benchmarks to their own file under:
>
> test/micro/org/openjdk/bench/java/util/logging/

That seems a good idea.

Mandy


More information about the core-libs-dev mailing list