RFR(XS): 8214912: LogCompilation: Show the comp level

Igor Ignatyev igor.ignatyev at oracle.com
Wed Dec 5 23:57:00 UTC 2018


Hi Eric,

as -XX:-TieredCompilation runs won't have 'level' attribute, shouldn't you check if atts.getValue("level") isn't null? 

-- Igor

> On Dec 5, 2018, at 3:51 PM, Eric Caspole <eric.caspole at oracle.com> wrote:
> 
> Hi everybody,
> Could I have reviews on this small change to show the compilation level in the LogCompilation output similar to how it looks with +PrintCompilation, for example here the 3 is the level, after the id 606:
> 
> 606 3      java.lang.Long::parseLong (267 bytes)
> 
> 
> Webrev:
> http://cr.openjdk.java.net/~ecaspole/JDK-8214912/webrev/
> 
> JBS:
> https://bugs.openjdk.java.net/browse/JDK-8214912
> 
> Thanks,
> Eric



More information about the hotspot-compiler-dev mailing list