JDK-8251354 : Shenandoah: Fix JFR test failures
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-08-10
  • Updated: 2020-08-19
  • Resolved: 2020-08-14
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 11
11.0.9 b04Fixed
Related Reports
Relates :  
Description
With the recent Shenandoah backport to jdk11u, we decided to optionally split metadata.xml so that Shenandoah can provide its own metadata-shenandoah.xml in a separate file. This avoids generating code for Shenandoah when Shenandoah is not present in the build.

However, the metadata.xml is also read at run-time, but metadata-shenandoah.xml is not present at run-time, nor would it be read with the current implementation of MetadataHandler.java. This makes the test jdk/jfr/tool/TestPrintJSON.java fail.


Comments
URL: https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/be322041493a User: goetz Date: 2020-08-19 07:35:57 +0000
19-08-2020

URL: https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/be322041493a User: rkennke Date: 2020-08-14 12:03:13 +0000
14-08-2020

Fix-Request (11u): Review thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-August/003600.html The change reverts some parts of the big Shenandoah import to their original state (and also match better what is in jdk/jdk). It fixes a number of failing JFR tests.
12-08-2020