JDK-8225216 : gc/logging/TestMetaSpaceLog.java doesn't work for Shenandoah
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8-shenandoah,11-shenandoah,14,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-06-04
  • Updated: 2022-02-24
  • Resolved: 2020-03-12
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 14 JDK 15
14.0.2Fixed 15 b15Fixed
Related Reports
Relates :  
Relates :  
Description
The test gc/logging/TestMetaSpaceLog.java is disabled (after JDK-8212630) for Shenandoah because it would fail if run.

The test expects to find the output from a call to print_metaspace_chage(), but Shenandoah never calls that function.  (Unless it's intentional that Shenandoah doesn't call that function and can't pass this test.)

Comments
Fix Request (14u) This improves Shenandoah testability. Patch applies cleanly to 14u. Patched JDK passes hotspot_gc_shenandoah with Linux x86_64 {fastdebug, release}. The change is contained in Shenandoah code and does not risk anything else.
24-03-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/4ee517d2e206 User: shade Date: 2020-03-12 06:38:51 +0000
12-03-2020