RFR: 8255860: Clean up CDS logging related to lambda

Calvin Cheung ccheung at openjdk.java.net
Wed Nov 4 18:49:56 UTC 2020


On Wed, 4 Nov 2020 16:32:33 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> A small clean up to make the logging more manageable.
> 
> [1] Moved some debug printing from `tty->print_cr()` to `-Xlog:cds+lambda=debug`
> [2] Moved some logs from `-Xlog:cds` to `-Xlog:cds+lambda`

The cleanup looks good. Just couple of nits below.

src/hotspot/share/classfile/classListParser.cpp line 464:

> 462: 
> 463: void ClassListParser::resolve_indy(Symbol* class_name_symbol, TRAPS) {
> 464: 

Line deleted by accident?

test/hotspot/jtreg/runtime/cds/appcds/BadBSM.java line 46:

> 44:         TestCommon.list("WrongBSM",
> 45:                         "@lambda-proxy WrongBSM 7"),
> 46:         "-Xlog:cds+lambda=debug");

Please align line 46 with 45.

-------------

Marked as reviewed by ccheung (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1062


More information about the hotspot-runtime-dev mailing list