JDK-8140581 : Excluding compile messages should only be printed with PrintCompilation
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-27
  • Updated: 2015-11-20
  • Resolved: 2015-10-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b92Fixed
Related Reports
Relates :  
Description
With JDK-8046155 we now print "Excluding compile" messages for each excluded compilation. Many tests specify "-XX:CompileCommand=compileonly, ..." which results in dozens of exclude messages being printed. We should only print those with -XX:+PrintCompilation because most of the time they are not relevant and may even hide more important test output if the JTREG option "-Djavatest.maxOutputSize" is set to a low value:

### Excluding compile: java.io.OutputStream::flush
### Excluding compile: java.nio.ByteBuffer::clear
### Excluding compile: java.nio.Buffer::clear
### Excluding compile: static com.sun.javatest.Status::encode
### Excluding compile: java.io.PrintStream::println
### Excluding compile: java.io.PrintStream::newLine
### Excluding compile: java.io.BufferedWriter::newLine
### Excluding compile: static java.lang.System::lineSeparator
### Excluding compile: java.io.PrintStream::flush
### Excluding compile: static java.lang.System::exit
### Excluding compile: java.lang.Runtime::exit
### Excluding compile: static java.lang.Shutdown::<clinit>
### Excluding compile: java.lang.Shutdown$Lock::<init>
### Excluding compile: java.lang.Shutdown$Lock::<init>
### Excluding compile: static java.lang.Shutdown::exit
### Excluding compile: static java.lang.Shutdown::sequence
### Excluding compile: static java.lang.Shutdown::runHooks
### Excluding compile: static java.lang.Shutdown::halt
....