[Rev 01] RFR: 6549: Color flame chart based on package name
Miroslav Wengner
mwengner at openjdk.java.net
Mon Jan 13 22:13:31 UTC 2020
On Mon, 13 Jan 2020 20:45:20 GMT, Marcus Hirt <hirt at openjdk.org> wrote:
>> I think the last (easiest) alternative is probably quite okay since:
>> 1. You typically care less about the JDK classes (you're normally not interested in changing them).
>> 2. The fact that package transitions in JDK classes are less obvious with the easy pure grey coloring scheme is outweighed by reliably being able to identify them as JDK classes (if it's a pure grey, it's JDK).
>
> So, in other words, these simple semantics:
> 1. Is it a standard public Java JDK API -> light grey.
> 2. Is it a public non-standard Java JDK API -> medium grey.
> 3. Is it an internal Java JDK API -> dark grey.
I thing that such coloring makes things simpler. I've modified the colors:
1. standard public (java.*) -> light grey
2. public non-standard (com.sun.*, jdk.*) -> dark grey
3. internal (sun.*) -> grey
scale according to the semantic is from Lighter to Darker (1,2,3)
-------------
PR: https://git.openjdk.java.net/jmc/pull/29
More information about the jmc-dev
mailing list