JDK-8307103 : Two TestMetaspaceAllocationMT tests fail after JDK-8306696
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-04-28
  • Updated: 2023-05-04
  • Resolved: 2023-04-28
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 21
21 b21Fixed
Related Reports
Relates :  
Description
The following two tests fail:
  runtime/Metaspace/elastic/TestMetaspaceAllocationMT1.java
  runtime/Metaspace/elastic/TestMetaspaceAllocationMT2.java

/jdk/test/hotspot/jtreg/runtime/Metaspace/elastic/TestMetaspaceAllocationMT2.java:115: error: cannot find symbol
            System.out.println("#### ReclaimPolicy: " + Settings.settings().reclaimPolicy);
                                                                           ^
  symbol:   variable reclaimPolicy
  location: class Settings
1 error
Comments
The fix for this bug is integrated in jdk-21+21-1704.
28-04-2023

Changeset: 452cb843 Author: Jie Fu <jiefu@openjdk.org> Date: 2023-04-28 12:27:16 +0000 URL: https://git.openjdk.org/jdk/commit/452cb8432f4d45c3dacd4415bc9499ae73f7a17c
28-04-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13714 Date: 2023-04-28 12:00:45 +0000
28-04-2023