JDK-8230707 : [test] JFR related tests are failing
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: openjdk8u-jfr-incubator
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-06
  • Updated: 2020-04-27
  • Resolved: 2019-09-11
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.
Other
openjdk8u-jfr-incubator openjdk8u-jfr-incubator
Fixed
Related Reports
Relates :  
Description
The following JFR tests are failing in the incubator due to differences between JDK 8 and JDK 11 (eg. G1, Unified logging etc.)

* jdk/jfr/event/compiler/TestCodeSweeperConfig.java: 
* jdk/jfr/event/compiler/TestCodeSweeperStats.java: 
* jdk/jfr/event/compiler/TestCompilerCompile.java: 
* jdk/jfr/event/compiler/TestCompilerPhase.java: 
* jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java: 
* jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java: 
* jdk/jfr/event/gc/collection/TestGCEventMixedWithG1ConcurrentMark.java: 
* jdk/jfr/event/gc/collection/TestGCEventMixedWithG1FullCollection.java:  * jdk/jfr/event/gc/configuration/TestGCHeapConfigurationEventWith32BitOops.sh: 
* jdk/jfr/event/gc/detailed/TestG1AIHOPEvent.java: 
* jdk/jfr/event/gc/detailed/TestG1IHOPEvent.java: 
* jdk/jfr/event/gc/heapsummary/TestHeapSummaryCommittedSize.java: 
* jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1FullCollection.java: 
* jdk/jfr/event/runtime/TestJavaMonitorInflateEvent.java: 
* jdk/jfr/event/runtime/TestModuleEvents.java: Tests the JFR events related to modules 
* jdk/jfr/event/runtime/TestThrowableInstrumentation.java: Verify instrumented Throwable bytecode by compiling it with C1. 
* jdk/jfr/jcmd/TestJcmdChangeLogLevel.java: Test changing log level 
* jdk/jfr/jvm/TestJfrJavaBase.java: verify that jfr can not be used when JVM is executed only with java.base 
* jdk/jfr/jvm/TestLogOutput.java: Sanity test jfr logging output 

Attaching full JTReg output for the reference.
Comments
Fixed in incubator, awaything merge approval to 8u-dev: https://hg.openjdk.java.net/jdk8u/jdk8u-jfr-incubator/hotspot/rev/be5266057dda
17-02-2020

Replacing jdk8u-fix-request with link to JDK-8239140
17-02-2020

RFC: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-January/011063.html
30-01-2020

hostpsot: https://hg.openjdk.java.net/jdk8u/jdk8u-jfr-incubator/hotspot/rev/8a0aca5caca0 jdk: https://hg.openjdk.java.net/jdk8u/jdk8u-jfr-incubator/jdk/rev/6b194072e123
11-09-2019