简体   繁体   中英

How to profile branch prediction hitrate in Java

Is there a tool available to profile java applications regarding branch (mis)prediction statistics for if statements?

I know VisualVM and JDK Mission Control but did not find such functionality.

No such tool exists.

It is generally impossible to extract that information from CPU, you can either measure performance of code block, or emulate execution of code and collect such statistic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM