JMC-6122: Method profiling rule should show the hottest path

Joshua Matsuoka jmatsuok at redhat.com
Tue Nov 27 19:31:59 UTC 2018


Hi Marcus,

Thanks for the review! Here's an updated webrev

http://cr.openjdk.java.net/~jmatsuoka/JMC-6122/webrev.02/

Cheers,

- Josh

On Mon, Nov 26, 2018 at 5:31 PM Marcus Hirt <marcus.hirt at oracle.com> wrote:

> Hi Josh,
>
> 1. Map.replace was introduced in JDK 8, and core is still compiled with
> JDK 7.
>
> 2. Just a nit - could the assignment of the fields for the
>    MethodProfilingWindowResult please be in the order of the arguments?
>
> Kind regards,
> Marcus
>
> On 2018-11-26, 22:26, "jmc-dev on behalf of Joshua Matsuoka" <
> jmc-dev-bounces at openjdk.java.net on behalf of jmatsuok at redhat.com> wrote:
>
>     Forgot the patch:
> http://cr.openjdk.java.net/~jmatsuoka/JMC-6122/webrev.01/
>
>     [1]
>
> https://bugs.openjdk.java.net/projects/JMC/issues/JMC-6122?filter=allopenissues
>
>     Cheers,
>
>     - Josh
>
>     On Mon, Nov 26, 2018 at 4:24 PM Joshua Matsuoka <jmatsuok at redhat.com>
> wrote:
>
>     > Hi,
>     >
>     > The following patch addresses JMC-6122 by changing the grouping
> aggregator
>     > to instead group on stack trace so we can retrieve the hottest path
>     > alongside the hottest method and display it in the rule results.
>     >
>     >
>     > As for the comment on the bug [1], I think that belongs more in a
> separate
>     > bug addressed by another patch.
>     >
>     > Thoughts?
>     >
>     > [1]
>     >
>
>
>
>
>


More information about the jmc-dev mailing list